A138939 Indices k such that A019327(k)=Phi[k](9) is prime, where Phi is a cyclotomic polynomial.
6, 12, 18, 20, 30, 36, 54, 66, 118, 138, 152, 182, 232, 264, 336, 340, 380, 414, 446, 492, 540, 624, 720, 762, 1066, 1094, 1098, 1170, 1230, 1254, 1320, 1428, 1546, 2018, 2574, 2724, 2804, 2920, 3074, 3316, 3646, 4124, 4132, 4186, 4620, 4802
Offset: 1
Keywords
Links
Programs
-
Mathematica
Select[Range[1000], PrimeQ[Cyclotomic[#, 9]] &]
-
PARI
for( i=1,999, ispseudoprime( polcyclo(i,9)) && print1( i",")) /* use ...subst( polcyclo(i),x,9)... in PARI < 2.4.2 */
Extensions
a(25)-a(46) from Robert Price, Apr 28 2012