Toss a fair coin and calculate the expected time until the n-th possible finite sequence of Heads and Tails first appears (ordered by length of sequence and alphabetical order so H, T, HH, HT, TH, TT, HHH, etc.).
A059943
Toss a fair coin and calculate the expected time until the n-th possible finite sequence of Heads and Tails first appears (ordered by length of sequence and alphabetical order so H, T, HH, HT, TH, TT, HHH, etc.).
Terms
- a(0) =2a(1) =2a(2) =6a(3) =4a(4) =4a(5) =6a(6) =14a(7) =8a(8) =10a(9) =8a(10) =8a(11) =10a(12) =8a(13) =14a(14) =30a(15) =16a(16) =18a(17) =16a(18) =18a(19) =20a(20) =18a(21) =16a(22) =16a(23) =18a(24) =20a(25) =18a(26) =16a(27) =18a(28) =16a(29) =30
External references
- oeis: A059943