A062871 a(n) is the integer part of the geometric mean of n! and n^n.
1, 1, 2, 12, 78, 612, 5795, 64425, 822470, 11856945, 190494094, 3374719083, 65351559893, 1373320643022, 31124359701926, 756718320351008, 19645797269948963, 542437979097898912, 15871685747774947592
Offset: 0
Links
- Harry J. Smith, Table of n, a(n) for n = 0..100
Programs
-
Mathematica
Floor[Sqrt[n!*n^n]]
-
PARI
a(n)={sqrtint(n! * n^n)} \\ Harry J. Smith, Aug 12 2009
-
Python
from math import isqrt, factorial def A062871(n): return isqrt(factorial(n)*n**n) # Chai Wah Wu, Jun 19 2024