A256148 Primitive prime factors of the cyclotomic polynomial sequence Phi(3, k) (or Phi(6, k)) in the order in which they occur.
3, 7, 13, 31, 43, 19, 73, 37, 157, 61, 211, 241, 307, 127, 421, 463, 79, 601, 757, 271, 67, 331, 151, 1123, 397, 97, 1483, 223, 547, 1723, 139, 631, 283, 109, 103, 181, 2551, 379, 919, 409, 2971, 3307, 163, 3541, 523, 3907, 613, 4423, 4831, 1657, 5113, 751
Offset: 1
Links
- Robert Price, Table of n, a(n) for n = 1..733
- Bernhard Helmes, Prime sieving on the polynomial f(n)=n^2+n+1.
Programs
-
Mathematica
prim = {}; Do[prim = Join[prim, Complement[First /@ FactorInteger[Cyclotomic[6, k]], prim]], {k, 1000}]; prim
-
PARI
lista(nn) = {vs = []; for (n=1, nn, vp = factor(polcyclo(6,n))[,1]; for (i=1, #vp, if (!vecsearch(vs, vp[i]), print1(vp[i], ", "); vs = vecsort(concat(vs, vp[i]),,8););););} \\ Michel Marcus, Mar 20 2015
Comments