|
|
A062776
|
|
Greatest common divisor of (n+2)! and n^n.
|
|
2
|
|
|
1, 4, 3, 16, 5, 576, 7, 256, 81, 25600, 11, 497664, 13, 802816, 91125, 65536, 17, 1719926784, 19, 327680000, 6751269, 507510784, 23, 495338913792, 15625, 5670699008, 1594323, 161128382464, 29, 401224520171520000000, 31
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) j=[]; for(n=1, 75, j=concat(j, gcd((n+2)!, n^n))); j
(PARI) val(n, p) = my(r=0); while(n, r+=n\=p); r
a(n) = my(f = factor(n)[, 1]~); prod(i=1, #f, f[i] ^ min(n, val(n + 2, f[i]))) \\ David A. Corneth, Mar 25 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|