login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135208 a(n) = Sum_digits{C(n,Sum_digits[a(n-1)]}, with a(0)=1. 1
1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 12, 16, 12, 14, 21, 14, 27, 29, 29, 24, 21, 16, 18, 29, 29, 36, 30, 18, 21, 22, 23, 24, 25, 26, 18, 22, 24, 24, 33, 42, 37, 46, 50, 27, 23, 33, 21, 19, 37, 48, 52, 26, 36, 33, 36, 60, 36, 42, 28, 42, 37, 36, 43, 42, 51, 60, 33, 46, 49, 64, 45 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

MAPLE

P:=proc(n) local a, i, k, w; a:=1; print(a); for i from 1 by 1 to n do w:=0; k:=a; while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; k:=binomial(i, w); w:=0; while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; a:=w; print(w); od; end: P(100);

MATHEMATICA

nxt[{n_, a_}]:={n+1, Total[IntegerDigits[Binomial[n+1, Total[ IntegerDigits[ a]]]]]}; Transpose[NestList[nxt, {0, 1}, 75]][[2]] (* Harvey P. Dale, Apr 24 2013 *)

CROSSREFS

Cf. A128936, A129630, A129631, A130843.

Sequence in context: A326344 A115026 A101337 * A259043 A156207 A061486

Adjacent sequences:  A135205 A135206 A135207 * A135209 A135210 A135211

KEYWORD

base,easy,nonn

AUTHOR

Paolo P. Lava, Dec 03 2007

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 27 08:51 EST 2020. Contains 332301 sequences. (Running on oeis4.)