login
A045748
a(n) is the number consisting of the last n digits (although any leading 0's among those last n digits are omitted) of Sum_{j=1..k} j! for all sufficiently large k.
1
3, 13, 313, 313, 40313, 940313, 940313, 20940313, 420940313, 420940313, 20420940313, 920420940313, 8920420940313, 28920420940313, 528920420940313, 6528920420940313, 36528920420940313, 336528920420940313, 2336528920420940313, 42336528920420940313
OFFSET
1,1
FORMULA
a(n) = (Sum_{k>=1} k!) mod 10^n. - Sean A. Irvine, Mar 19 2021
EXAMPLE
Look at A007489, the partial sums of the factorials. The last digit stabilizes at 3, so a(1) = 3. The last two digits stabilize at 13, so a(2) = 13. - N. J. A. Sloane, Mar 22 2021
CROSSREFS
Sequence in context: A128385 A100524 A000859 * A113526 A113612 A180654
KEYWORD
nonn,base
AUTHOR
STATUS
approved