[seqfan] a(n) = a(n-1) + [sum of all digits present so far]

Eric Angelini Eric.Angelini at kntv.be
Thu Oct 1 18:23:10 CEST 2009


Hello SeqFans,
this seems not to be in the OEIS (else I need new glasses):

S = 1, 2, 5, 13, 25, 44, 71, 106, 113, ...

a(1) = 1
a(n) = a(n-1) + [sum of all digits present so far in S]

(thus 25 = 13 + 1 + 2 + 5 + 1 + 3)

Best,
É.







More information about the SeqFan mailing list