A274000 Primes p of the form k^2 + 1 that divide 4^k - 1.
5, 17, 257, 65537, 148997, 405458497, 3497539601, 139251776898727937
Offset: 1
Examples
17 = 4^2 + 1 is a term because it divides 4^4 - 1; 255/17 = 15.
Crossrefs
Programs
-
PARI
is(n) = ceil(sqrt(n-1))==sqrtint(n-1) && Mod(4, n)^(sqrtint(n))==1 for(n=0, 1e12, if(is(n^2+1), if(ispseudoprime(n^2+1), print1(n^2+1, ", ")))) \\ Felix Fröhlich, Jun 12 2016
Extensions
a(8) from Giovanni Resta, Nov 12 2018
Comments