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.

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.

Terms

    a(0) =0a(1) =1a(2) =10a(3) =2a(4) =4a(5) =8a(6) =7a(7) =5a(8) =100a(9) =11a(10) =13a(11) =17a(12) =16a(13) =14a(14) =1000a(15) =20a(16) =22a(17) =26a(18) =25a(19) =23a(20) =10000a(21) =101a(22) =31a(23) =35a(24) =34a(25) =32a(26) =100000a(27) =110a(28) =40a(29) =44

External references