Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A348850 a(n) is the number of labeled rooted unordered binary trees T where the nodes are labeled with distinct positive integers, the root has label n, each parent label equals the sum of its children labels, and T cannot be extended. 3
1, 1, 1, 1, 2, 2, 3, 5, 9, 10, 14, 22, 33, 57, 66, 94, 132, 188, 317, 454, 576, 806, 1083, 1535, 2342, 3215, 5231, 5656, 8545, 10804, 15226, 21153, 30342, 44536, 63165, 73877, 107241, 133994, 178497, 247564, 331695, 472331 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
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 0 < 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
Wikipedia, Grundy's game
EXAMPLE
For n = 1, 2, 3, 4: a(n) = 1:
| | | |
1 2 3 4
/ \ / \
1 2 1 3
For n = 5, 6: a(n) = 2:
| | | |
5 5 6 6
/ \ / \ / \ / \
1 4 2 3 1 5 2 4
/ \ / \
2 3 1 3
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A039822 A025591 A028409 * A183559 A080553 A350432
KEYWORD
nonn,more
AUTHOR
Rémy Sigrist, Nov 01 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 5 19:08 EDT 2024. Contains 374954 sequences. (Running on oeis4.)