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 XOR its sibling, are:
|
.-------1-------.
| |
.---2---. .---3---.
| | | |
.-4-. .-6-. .-8-. .11-.
| | | | | | | |
9 13 10 12 7 15 5 14
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Apr 16 2024
STATUS
approved