A250198 Numbers k such that the right Aurifeuillian primitive part of 2^k+1 is prime.
2, 6, 10, 14, 18, 22, 30, 34, 38, 42, 54, 58, 66, 70, 90, 102, 110, 114, 126, 138, 170, 178, 242, 294, 314, 326, 350, 378, 462, 566, 646, 726, 758, 1150, 1242, 1302, 1482, 1558, 1638, 1710, 1770, 1970, 1994
Offset: 1
Keywords
Examples
14 is in this sequence because the right Aurifeuillian primitive part of 2^14+1 is 29, which is prime. 26 is not in this sequence because the right Aurifeuillian primitive part of 2^26+1 is 8321, which equals 53 * 157 and is not prime.
Links
- Eric Chen, Gord Palameta, Factorization of Phi_n(2) for n up to 1280
- Samuel Wagstaff, The Cunningham project
- Eric W. Weisstein's World of Mathematics, Aurifeuillean Factorization.
Programs
-
Mathematica
Select[Range[2000], Mod[#, 4] == 2 && PrimeQ[GCD[2^(#/2) + 2^((#+2)/4) + 1, Cyclotomic[2*#, 2]]] &]
-
PARI
isok(n) = isprime(gcd(2^(n/2) + 2^((n+2)/4) + 1, polcyclo(2*n, 2))); \\ Michel Marcus, Jan 27 2015
Comments