OFFSET
3,1
FORMULA
For odd n: a(n) = n!/2; for even n: a(n) = n!.
a(n) = (1/4)*(3+(-1)^n)*n! - Benoit Cloitre, May 18 2002
From Amiram Eldar, Jul 06 2022: (Start)
Sum_{n>=3} 1/a(n) = 2*sinh(1) + cosh(1) - 7/2.
Sum_{n>=3} (-1)^(n+1)/a(n) = 2*sinh(1) - cosh(1) - 1/2. (End)
MATHEMATICA
f[n_] := If[ EvenQ[n], n!, n!/2]; Table[ f[n], {n, 3, 24}].
PROG
(PARI) for(n=3, 20, print1((3+(-1)^n)/4*n!, ", "))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Sharon Sela (sharonsela(AT)hotmail.com), May 14 2002
EXTENSIONS
More terms from Benoit Cloitre, May 18 2002
STATUS
approved