login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A307031
n to the power n double factorial, n^(n!!).
0
1, 4, 27, 65536, 30517578125, 22452257707354557240087211123792674816, 54361846697263307560529495055267343940077014163990039113495978834700158362117849904436807
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
Sequence in context: A292968 A000869 A132640 * A306823 A174212 A352838
KEYWORD
nonn
AUTHOR
Mark Stander, Mar 20 2019
STATUS
approved