OFFSET
1,2
COMMENTS
The next term -- a(8) -- has 347 digits. - Harvey P. Dale, Aug 11 2021
LINKS
Eric Weisstein's World of Mathematics, Double Factorial
FORMULA
a(n) = n^(n!!).
MATHEMATICA
Table[n^n!!, {n, 7}] (* Harvey P. Dale, Aug 11 2021 *)
PROG
(Python)
def doublefactorial(n):
if n <= 0:
return 1
else:
return n * doublefactorial(n-2)
for n in range(1, m):
print(n**doublefactorial(n))
CROSSREFS
KEYWORD
nonn
AUTHOR
Mark Stander, Mar 20 2019
STATUS
approved