login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127554 Sum of the digits of left factorial !n. 0
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; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..58.

FORMULA

a(n) = A007953(A003422(n)). - R. J. Mathar, 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 * A182319 A204182 A103324

Adjacent sequences:  A127551 A127552 A127553 * A127555 A127556 A127557

KEYWORD

easy,nonn,base

AUTHOR

Paolo P. Lava and Giorgio Balzarotti, Apr 17 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 4 13:27 EST 2016. Contains 278750 sequences.