A214305 Fermat pseudoprimes to base 2 with two prime factors.
341, 1387, 2047, 2701, 3277, 4033, 4369, 4681, 5461, 7957, 8321, 10261, 13747, 14491, 15709, 18721, 19951, 23377, 31417, 31609, 31621, 35333, 42799, 49141, 49981, 60701, 60787, 65077, 65281, 80581, 83333, 85489, 88357, 90751, 104653, 123251, 129889, 130561
Offset: 1
Keywords
Examples
Few examples for the first 4 Poulet numbers with two prime factors: For p1 = 341 = 11*31, the following Poulet numbers p2 for which p2 mod 310 = 31 were obtained: 2821, 4371, 4681, 10261 etc. For p1 = 1387 = 19*73, the following Poulet numbers p2 for which p2 mod 1314 = 73 were obtained: 2701, 7957, 10585, 15841 etc. For p1 = 2047 = 23*89, the following Poulet numbers p2 for which p2 mod 1958 = 89 were obtained: 31417, 35333, 60787, 62745 etc. For p1 = 2701 = 37*73, the following Poulet numbers p2 for which p2 mod 2628 = 73 were obtained: 7957, 10585, 15841 etc.
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 (first 3299 terms from T. D. Noe)
- Marius Coman, Conjecture that states that a Mersenne number with odd exponent is either prime either divisible by a 2-Poulet number, 2015.
- Eric Weisstein's World of Mathematics, Poulet Number.
- Index entries for sequences related to pseudoprimes
Programs
-
Mathematica
SemiPrimeQ[n_Integer] := If[Abs[n] < 2, False, (2 == Plus @@ Transpose[FactorInteger[Abs[n]]][[2]])]; Select[Range[200000], SemiPrimeQ[#] && PowerMod[2, #-1, #] == 1 &] (* T. D. Noe, Jul 12 2012 *)
-
PARI
list(lim)=my(v=List());forprime(p=31,lim\11, forprime(q=11,min(p-1,lim\p), if(Mod(2,p)^(q-1)==1 && Mod(2,q)^(p-1)==1, listput(v,p*q)))); if(lim>=1093^2,listput(v,1093^2)); if(lim>=3511^2,listput(v,3511^2)); vecsort(Vec(v)) \\ Charles R Greathouse IV, Sep 20 2012
Comments