OFFSET
1,2
COMMENTS
Conjecture: this sequence is a permutation of the positive integers.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10001
Rémy Sigrist, PARI program
EXAMPLE
The first terms, arranged alongside a binary tree where each right child equals its parent OR its sibling, are:
|
.-------1-------.
| |
.---2---. .---3---.
| | | |
.-4-. .-6-. .-5-. .-7-.
| | | | | | | |
8 12 9 15 16 21 17 23
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Apr 20 2024
STATUS
approved