← All problemsSign in

Harry And N-th Number

Harry is an engineering student, he is a maths lover, specially fond of series expansions. He has recently studied series like Fibonacci, AGP etc. So, his teacher gave him a task to calculate the Nth number of a special series derived by the teacher herself. Harry is busy doing his college assignments, so he seeks for your help. You need to help him in order to find the Nth number of that series

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start