

A341012


The cumulative sum of the even digits so far in the sequence and the cumulative sum of the odd digits so far differ by n for all a(n)s.


2



1, 10, 16, 7, 23, 32, 45, 54, 67, 76, 89, 98, 100, 203, 225, 230, 247, 252, 269, 274, 296, 302, 320, 405, 427, 449, 450, 472, 494, 504, 522, 540, 607, 629, 670, 692, 706, 724, 742, 760, 809, 890, 908, 926, 944, 962, 980, 1000, 1112, 1121, 1134, 1143, 1156, 1165, 1178
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

This is the lexicographically earliest sequence of distinct integers > 0 having this property.


LINKS



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 EO 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

Cf. A341002 (numbers whose sum of even digits and sum of odd digits differ by 1).


KEYWORD

base,nonn


AUTHOR



STATUS

approved



