login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127554 Sum of the digits of left factorial !n. 2
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
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
Sequence in context: A121531 A367065 A360180 * A182319 A204182 A103324
KEYWORD
easy,nonn,base
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)