A322130 Fermat pseudoprimes to base 2 that are hexagonal.
561, 2701, 4371, 8911, 10585, 18721, 33153, 49141, 93961, 104653, 115921, 157641, 226801, 289941, 314821, 334153, 534061, 665281, 721801, 831405, 873181, 915981, 1004653, 1373653, 1537381, 1755001, 1815465, 1987021, 2035153, 2233441, 2284453, 3059101, 3363121
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
- Andrzej Rotkiewicz, On some problems of W. Sierpinski, Acta Arithmetica, Vol. 21 (1972), pp. 251-259.
- Wikipedia, Schinzel's Hypothesis H.
Programs
-
Mathematica
hex[n_] := n(2n-1); Select[hex[Range[1, 1000]], PowerMod[2, (# - 1), #]==1 &]
-
PARI
isok(n) = ispolygonal(n, 6) && (Mod(2, n)^n==2) && !isprime(n) && (n>1); \\ Michel Marcus, Nov 28 2018
Comments