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 k−1k-1 (then +1+1) or k−2k-2 (then +2+2): pk=12pk−1+12pk−2p_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)

Create a free account to see the full worked solution and track your progress.

Interview format: Market Maker, Hedge Fund Quant

Related questions