OFFSET
0,3
COMMENTS
All powers of 2 appear in the sequence.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..8191
Rémy Sigrist, PARI program for A338047
EXAMPLE
The first terms, alongside the corresponding XOR-triangle, are:
6
2 4
17 19 23
29 12 31 8
1 28 16 15 7
0 1 29 13 2 5
8 8 9 20 25 27 30
7 15 7 14 26 3 24 6
2 5 10 13 3 25 26 2 4
1 3 6 12 1 2 27 1 3 7
a(n)| 0 1 2 4 8 9 11 16 17 18 21
----+----------------------------------------------------------------------------
n | 0 1 2 3 4 5 6 7 8 9 10
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Oct 08 2020
STATUS
approved