login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A230725 Digital sum of tribonacci numbers with a(0)=a(1)=a(2)=1. 1
1, 1, 1, 3, 5, 9, 8, 4, 12, 6, 13, 13, 14, 4, 13, 13, 21, 20, 18, 32, 25, 21, 33, 25, 43, 20, 16, 25, 16, 21, 53, 36, 38, 46, 48, 51, 46, 64, 44, 55, 46, 46, 48, 41, 45, 53, 58, 57, 60, 49, 58, 59, 67, 58, 76, 57, 65, 72, 77, 61 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = A007953(A000213(n)).
EXAMPLE
In the tribonacci sequence with initial values a(0)=a(1)=a(2)=1, the 30th term is 37895489. Its digital sum is 53.
PROG
(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
CROSSREFS
Cf. A000213.
Sequence in context: A079428 A094548 A112661 * A254689 A176445 A292863
KEYWORD
nonn,base
AUTHOR
Irene Sermon, Oct 28 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 14:38 EDT 2024. Contains 371254 sequences. (Running on oeis4.)