OFFSET
1,2
COMMENTS
This is the lexicographically earliest sequence of distinct integers > 0 having this property.
LINKS
Carole Dubois, Table of n, a(n) for n = 1..5000
EXAMPLE
Say that the current sequence is S, the cumulative sum at any moment of the even digits of S is E, the cumulative sum at any moment of the odd digits of S is O and the absolute difference |E-O| is D. We would then have:
S = 1, 10, 16, 7, 23, 32, 45, 54, 67, 76, 89, 98,...
E = 0 0 6 6 8 10 14 18 24 30 38 46
O = 1 2 3 10 13 16 21 26 33 40 49 58
D = 1 2 3 4 5 6 7 8 9 10 11 12 <-- this is = n.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Feb 02 2021
STATUS
approved