OFFSET
1,2
COMMENTS
The sequence is a permutation of the nonnegative integers.
LINKS
Carole Dubois, Table of n, a(n) for n = 1..10000
Eric Angelini, Une merveille avec a(2n), Feb 8, 2022, personal blog (in French).
Carole Dubois, Comparative graphs for A351406 and A351378
EXAMPLE
This sequence : 0, 123, 1, 23, 2, 13, 3, 12, 4, 17, 5, 34, 6, 39, 7, 14, 8, ...
Even dig. sums: 0, 2, 2, 4, 6, 6, 6, 8, 12, 12, 12, 16, 22, 22, 22, 26, 34, ...
Odd dig. sums : 0, 4, 5, 8, 8, 12, 15, 16, 16, 24, 29, 32, 32, 44, 51, 52, 52, ...
x x x x x x x x ...
We see that 4 is twice 2, 8 is twice 4, 12 is twice 6, 16 is twice 8, 24 is twice 12, etc.
CROSSREFS
KEYWORD
AUTHOR
Eric Angelini and Carole Dubois, Feb 10 2022
STATUS
approved