0,4

Irene Sermon, Table of n, a(n) for n = 0..10000

a(n) = A007953(A000213(n)).

In the tribonacci sequence with initial values a(0)=a(1)=a(2)=1, the 30th term is 37895489. Its digital sum is 53.

(Sage)

L=[1, 1, 1]

n=100 #change for more terms

for i in [3..n]:

L.append(L[i-3]+L[i-2]+L[i-1])

[sum(x.digits(base=10)) for x in L] # Tom Edgar, Nov 09 2013

Cf. A000213.

Sequence in context: A079428 A094548 A112661 * A254689 A176445 A292863

Adjacent sequences: A230722 A230723 A230724 * A230726 A230727 A230728

nonn,base

Irene Sermon, Oct 28 2013

approved