login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60, we have over 367,000 sequences, and we’ve crossed 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 |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
Cf. A341002 (numbers whose sum of even digits and sum of odd digits differ by 1).
Sequence in context: A232608 A175335 A167788 * A072968 A072138 A109891
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Feb 02 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 2 04:17 EST 2023. Contains 367506 sequences. (Running on oeis4.)