The leap-frog's favorite landing spot

A frog starts at position 00 on the integer line. At each step it jumps forward 11 or 22 units, each with probability 12\tfrac12. Let pkp_k be the probability the frog ever lands exactly on position kk (for k>0k > 0). What is the largest value of pkp_k over all k>0k > 0?

Show hints (2)+
  1. Reach kk from k1k-1 (then +1+1) or k2k-2 (then +2+2): pk=12pk1+12pk2p_k=\tfrac12 p_{k-1}+\tfrac12 p_{k-2}, p0=1p_0=1, p1=12p_1=\tfrac12.
  2. The values oscillate toward 23\tfrac23; the peak is p2=34p_2=\tfrac34.

Answer

Reveal answer →

0.75 (± 0.001)

Want the full step-by-step worked solution? It's part of Premium - along with a worked solution for every question in the bank.

Asked at: Jane Street, Citadel

Related questions