Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A055263
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A055263 Sum of digits of (n + a(n-1)). +0
8
0, 1, 3, 6, 1, 6, 3, 1, 9, 9, 10, 3, 6, 10, 6, 3, 10, 9, 9, 10, 3, 6, 10, 6, 3, 10, 9, 9, 10, 12, 6, 10, 6, 12, 10, 9, 9, 10, 12, 6, 10, 6, 12, 10, 9, 9, 10, 12, 6, 10, 6, 12, 10, 9, 9, 10, 12, 15, 10, 15, 12, 10, 9, 9, 10, 12, 15, 10, 15, 12, 10, 9, 9, 10, 12, 15, 10, 15, 12, 10, 9, 9, 10 (list; graph; listen)
OFFSET

0,3

COMMENT

If n=0 or 8 mod 9, then a(n)=0 mod 9; if n=1, 4 or 7 mod 9, then a(n)=1 mod 9; if n=2 or 6 mod 9, then a(n)=3 mod 9; if n=3 or 5 mod 9, then a(n)=6 mod 9.

FORMULA

a(n) = A007953(A055262(n)) =A007953(n+a(n-1))

EXAMPLE

a(13)=10 because a(12)=6, 13+6=19 and 1+9=10

MAPLE

P:=proc(n) local a, i, k, w; a:=0; for i from 1 by 1 to n do w:=0; k:=i+a; while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; a:=w; print(a); od; end: P(100); - Paolo P. Lava (ppl(AT)spl.at), Jul 31 2007

CROSSREFS

Cf. A055262, A055264.

Sequence in context: A078768 A089078 A134804 this_sequence A004157 A091068 A065233

Adjacent sequences: A055260 A055261 A055262 this_sequence A055264 A055265 A055266

KEYWORD

base,easy,nonn

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), May 08 2000

EXTENSIONS

More terms from Paolo P. Lava (ppl(AT)spl.at), Jul 31 2007

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 | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 4 18:25 EDT 2008. Contains 140886 sequences.


AT&T Labs Research