A274002 Primes p of the form (q-1)^2+1 that are a divisor of 4^(q-1)-1 where q is prime.
5, 17, 257, 65537, 3497539601
Offset: 1
Examples
17 = (5-1)^2+1 is a term because 17 divides 4^(5-1)-1; 255/17 = 15.
Programs
-
PARI
listp(nn) = {forprime(p=2, nn, if (isprime(q=(p-1)^2 + 1) && (Mod(4, q)^(p-1) == 1), print1(q, ", ")););} \\ Michel Marcus, Jun 08 2016
Comments