

A341869


For any k, the cumulative sum of the terms a(1) + a(2) + a(3) + ... + a(k) and the cumulative sum of their digits so far are odd. This is the lexicographically earliest sequence of distinct terms > 0 with this property.


0



1, 2, 4, 6, 8, 20, 22, 24, 26, 28, 40, 42, 44, 46, 48, 60, 62, 64, 66, 68, 80, 82, 84, 86, 88, 110, 112, 114, 116, 118, 130, 132, 134, 136, 138, 150, 152, 154, 156, 158, 170, 172, 174, 176, 178, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 220, 222, 224, 226, 228, 240, 242, 244, 246, 248
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

This is A179082 (even numbers having an even sum of digits in their decimal representation) where the first term [0] is replaced by [1].


LINKS

Table of n, a(n) for n=1..65.


EXAMPLE

Sequence = 1,2,4, 6, 8,20,22,24, 26, 28, 40, 42, 44 ...
Cumulative sum of terms = 1 3 7 13 21 41 63 87 113 141 181 223 267 ...
Cumulative sum of digits = 1 3 7 13 21 23 27 33 41 51 55 61 69 ...


CROSSREFS

Cf. A179082.
Sequence in context: A249278 A273892 A179082 * A194376 A062897 A014263
Adjacent sequences: A341865 A341866 A341868 * A341870 A341871 A341872


KEYWORD

base,nonn


AUTHOR

Eric Angelini, Feb 22 2021


STATUS

approved



