A116894 Numbers k such that gcd(k! + 1, k^k + 1) is neither 1 nor 2k+1.
1, 5427, 41255, 43755, 208161, 496175, 497135
Offset: 1
Examples
gcd(1! + 1, 1^1 + 1) = 2 and 2 != 2*1 + 1, so 1 belongs to the sequence.
Programs
-
C
// See Links section in A116893.
Extensions
a(5) from Hans Havermann, Mar 28 2006
a(6)-a(7) from Nick Hobson, Feb 20 2024
Comments