← All problemsSign in

Intelligent Mushak Raaj

One day Bappa gave Mushak Raaj an interesting problem to solve and test his knowledge. Bappa also promised to give some gifts and Modaks if Mushak Raaj is able to solve this problem. The problem goes something like this: there is an infinite sequence $S$ of integers, where $S_i$ denotes the $i$th integer in that sequence. The sequence is defined by: - $S_i$ = $2$, for $i = 0$ - $S_i$ = $[A * f(S

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