Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A139762
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A139762 a(n)=Sum_digits_of_a(n-1)+Sum_digits_of(n). +0
1
0, 1, 3, 6, 10, 6, 12, 10, 9, 18, 10, 3, 6, 10, 6, 12, 10, 9, 18, 19, 12, 6, 10, 6, 12, 10, 9, 18, 19, 21, 6, 10, 6, 12, 10, 9, 18, 19, 21, 15, 10, 6, 12, 10, 9, 18, 19, 21, 15, 19, 15, 12, 10, 9, 18, 19, 21, 15, 19, 24, 12, 10, 9, 18, 19, 21, 15, 19, 24, 21, 10, 9, 18, 19, 21, 15, 19 (list; graph; listen)
OFFSET

0,3

MAPLE

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

CROSSREFS

Sequence in context: A065234 A082184 A080817 this_sequence A055262 A138797 A009019

Adjacent sequences: A139759 A139760 A139761 this_sequence A139763 A139764 A139765

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), May 20 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | The OEIS Foundation | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified March 13 16:35 EST 2010. Contains 173425 sequences.


AT&T Labs Research