OFFSET
1,1
PROG
(PARI) for(n = 1, 10^9, x = gcd(n! + 1, n^n + 1); if(x != 1 && x != 2*n + 1, print1(x, ", ")))
(C) See Links section in A116893.
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Ryan Propper, Feb 01 2008
EXTENSIONS
a(6)-a(7) from Nick Hobson, Feb 20 2024
STATUS
approved