OFFSET
0,1
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..445
FORMULA
EXAMPLE
a(0) = 13, a(1) = 13 + 4!, a(2) = 13 + 4! + 5!, ....
MATHEMATICA
A147615[n_]:= 13 +Sum[j!, {j, 4, n+3}]; Table[A147615[n], {n, 0, 30}] (* G. C. Greubel, Oct 24 2022 *)
PROG
(Magma) [n eq 0 select 13 else 13 + (&+[Factorial(j+4): j in [0..n-1]]): n in [0..30]]; // G. C. Greubel, Oct 24 2022
(SageMath)
def A147615(n): return 13 + sum(factorial(j+4) for j in range(n))
[A147615(n) for n in range(30)] # G. C. Greubel, Oct 24 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Ricky Pollack (rickypollack(AT)gmail.com), Apr 30 2009
STATUS
approved