OFFSET
0,4
COMMENTS
EXAMPLE
For n = 0, the only winning position is 1, so a(0) = 1.
For n = 1, the only winning position is 11, so a(1) = 1.
For n = 2, the only winning position is 111, so a(2) = 1.
For n = 3, there are a(3) = 3 winning positions: 1011, 1101, 1111.
For n = 4, there are a(4) = 4 winning positions: 10111, 11011, 11101, 11111.
For n = 5, there are a(5) = 7 winning positions: 100111, 101111, 110111, 111001, 111011, 111101, 111111.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Pontus von Brömssen, Nov 20 2024
STATUS
approved