Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A127554
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A127554 Sum of the digits of left factorial !n. +0
1
0, 1, 2, 4, 1, 7, 10, 19, 19, 19, 19, 28, 37, 37, 55, 55, 37, 46, 46, 73, 73, 64, 82, 100, 100, 118, 109, 100, 127, 127, 145, 118, 163, 145, 154, 172, 172, 154, 181, 181, 199, 172, 226, 208, 253, 226, 262, 262, 253, 271, 235, 271, 262, 280, 325, 325, 307, 343, 334 (list; graph; listen)
OFFSET

0,3

FORMULA

a(n) = A007953(A003422(n)). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 22 2007

EXAMPLE

!5 = 0!+1!+2!+3!+4! = 1+1+2+6+24 = 34 --> 3+4=7.

MAPLE

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

CROSSREFS

Cf. A003422.

Sequence in context: A105552 A112852 A121531 this_sequence A103324 A087060 A065278

Adjacent sequences: A127551 A127552 A127553 this_sequence A127555 A127556 A127557

KEYWORD

easy,nonn,base

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Apr 17 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 November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research