A377232 Odd numbers with binary representations corresponding to winning positions in Gordon Hamilton's Jumping Frogs game.
1, 3, 7, 11, 13, 15, 23, 27, 29, 31, 39, 47, 55, 57, 59, 61, 63, 75, 79, 95, 103, 105, 107, 111, 115, 119, 121, 123, 125, 127, 143, 155, 159, 183, 191, 203, 207, 211, 215, 217, 219, 223, 231, 235, 237, 239, 241, 243, 247, 249, 251, 253, 255
Offset: 1
Examples
Consider i = 5 with binary representation 101. There are no legal moves from the position 1,0,1 (since no "frog" is adjacent to another one, and single frogs may only jump one place). Therefore 5 is not a term. Conversely, consider i = 11 with binary representation 1011. From 1, 0, 1, 1, it is legal to move to 1, 0, 2, 0, and then to 3, 0, 0, 0, with only one nonzero entry. Therefore, 1, 0, 1, 1 is a winning position, and 11 does appear as a(4). The Numberphile video (see the Links) mentions a then-open problem as to whether any number of the form 2^k - 2^{k-2} - 2 - 1 (corresponding to a single frog, an empty place, k-4 consecutive frogs, an empty place, and then a final lone frog) is a term. In fact, 3069 corresponding to k=12 appears (as a(371), and no smaller number of this form occurs, although many larger ones do): 1 0 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 0 2 0 1 1 0 1 1 1 1 1 1 0 0 0 3 1 0 1 1 1 1 2 0 0 0 0 3 1 0 1 0 2 1 2 0 0 0 0 3 1 0 1 0 4 1 0 0 0 0 0 3 5 0 1 0 0 1 0 0 0 0 0 3 0 0 1 0 0 6 0 0 0 0 0 3 0 0 1 0 0 0 0 0 0 0 0 9 0 0 X 0 0 0 0 0 0 0 0 0
References
- Gordon Hamilton, The Infinite Pickle, Our Street Books, 2024, pp. 77-114.
Links
- Glen Whitney, Table of n, a(n) for n = 1..10000
- Gordon Hamilton, Jumping Frogs, Math Pickle, 2017.
- Gordon Hamilton and Brady Haran, Frog Jumping, Numberphile video, 2017.
- Glen Whitney, Python code to generate b-file
Comments