OFFSET
0,4
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
Rémy Sigrist, Colored scatterplot of (a(n), a(n+1)) for n < 2^17 (where the hue is function of n)
Rémy Sigrist, C++ program
EXAMPLE
The first terms, alongside their binary expansion and {a(n), a(n+1)}, are:
n a(n) bin(a(n)) {a(n), a(n+1)}
-- ---- --------- --------------
0 0 0 {0}
1 0 0 {0, 1}
2 1 1 {1, 2}
3 2 10 {0, 2}
4 0 0 {0, 3}
5 3 11 {3, 4}
6 4 100 {0, 4}
7 0 0 {0, 5}
8 5 101 {2, 5}
9 2 10 {2, 4}
10 4 100 {1, 4}
PROG
(C++) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Apr 05 2022
STATUS
approved