login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A161995
a(n) represents the minimum number k, not already present in the sequence, whose digit sum is equal to the digital root of Sum_{j=0..n-1} a(j), with a(0)=0 and a(1)=1.
0
0, 1, 10, 2, 4, 8, 7, 5, 100, 11, 13, 17, 16, 14, 1000, 20, 22, 26, 25, 23, 10000, 101, 31, 35, 34, 32, 100000, 110, 40, 44, 43, 41, 1000000, 200, 103, 53, 52, 50, 10000000, 1001, 112, 62, 61, 104, 100000000, 1010, 121, 71, 70, 113, 1000000000, 1100, 130, 80, 106
OFFSET
0,3
COMMENTS
From a(3) onward the digital root is periodic with period length equal to six: 1,2,4,8,7,5.
EXAMPLE
a(3) = 10 because a(0) + a(1) = 1 and 10 is the minimum number greater than 1 whose digit sum is equal to 1.
CROSSREFS
Cf. A010888.
Sequence in context: A049296 A220468 A169851 * A069036 A155817 A299980
KEYWORD
easy,nonn,base
AUTHOR
STATUS
approved