A138936 Indices n such that A019324(k)=Phi[k](6) is prime, where Phi is a cyclotomic polynomial.
1, 2, 3, 4, 6, 7, 8, 18, 21, 22, 24, 29, 30, 42, 50, 62, 71, 86, 90, 94, 118, 124, 127, 144, 154, 192, 214, 271, 354, 360, 411, 480, 509, 558, 575, 663, 764, 814, 825, 874, 1028, 1049, 1050, 1102, 1113, 1131, 1158, 1376, 1464, 1468, 1535, 1622, 1782, 1834
Offset: 1
Keywords
Links
Programs
-
Mathematica
Select[Range[1000], PrimeQ[Cyclotomic[#, 6]] &]
-
PARI
for( i=1,999, ispseudoprime( polcyclo(i,6)) && print1( i",")) /* use ...subst(polcyclo(i),x,6)... in PARI < 2.4.2 */
Extensions
a(41)-a(54) from Robert Price, Apr 16 2012