OFFSET
1,3
COMMENTS
For any n > 0:
- we can imagine a variant of Grundy's game where we start with n at root position,
- and each move consists in adding to a leaf, say w, two children, u and v such that u, v > 0 and u <> v and u+v = w and u and v do not already appear in the tree,
- a(n) gives the number of final positions (where no move is possible).
LINKS
EXAMPLE
For n = 1, 2: a(n) = 1:
| |
1 2
For n = 3, 4: a(n) = 2:
| | | |
3 3 4 4
/ \ / \ / \ / \
1 2 2 1 1 3 3 1
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Nov 01 2021
STATUS
approved