login
A341821
Lexicographically earliest sequence of distinct terms > 0 such that the n-th digit of the sequence is present in the cumulative sum a(1) + a(2) + ... + a(n).
4
1, 10, 9, 19, 2, 8, 3, 6, 5, 4, 18, 29, 7, 17, 14, 27, 28, 11, 39, 24, 13, 26, 37, 15, 12, 30, 47, 22, 16, 21, 20, 31, 32, 23, 25, 42, 33, 35, 34, 36, 41, 51, 57, 44, 43, 45, 40, 38, 46, 48, 49, 59, 58, 53, 50, 60, 69, 70, 61, 79, 62, 80, 52, 67, 77, 63, 64, 56, 54, 65, 68, 74, 87, 84, 66, 94, 71
OFFSET
1,2
LINKS
EXAMPLE
The 1st digit of the sequence [1] is present in a(1) = 1;
the 2nd digit of the sequence [1] is present in a(1) + a(2) = 1 + 10 = 11;
the 3rd digit of the sequence [0] is present in a(1) + a(2) + a(3) = 1 + 10 + 9 = 20;
the 4th digit of the sequence [9] is present in a(1) + a(2) + a(3) + a(4) = 1 + 10 + 9 + 19 = 39; etc.
CROSSREFS
Cf. A341818 (sum), A341819 (absolute difference), A341820 (product).
Sequence in context: A284518 A369603 A309660 * A184959 A309661 A003568
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Feb 20 2021
STATUS
approved