cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A138928 Indices n such that A020501(n) = phi(n)(-2) is prime, where Phi is a cyclotomic polynomial.

Original entry on oeis.org

3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 23, 24, 26, 30, 31, 32, 34, 38, 39, 40, 43, 45, 49, 54, 56, 61, 62, 63, 66, 75, 79, 80, 85, 87, 98, 101, 117, 120, 122, 127, 130, 138, 154, 161, 167, 170, 178, 183, 184, 186, 187, 191, 192, 199, 205, 207, 208
Offset: 1

Views

Author

M. F. Hasler, Apr 03 2008

Keywords

Comments

While the sequence is not very interesting up to a(n)<300, there are only 4 values in the interval [400,599].

Crossrefs

Programs

  • Mathematica
    Select[ Range[3, 1000], PrimeQ[ Cyclotomic[#, -2]] &] (* Robert G. Wilson v, Mar 25 2012 *)
  • PARI
    for( i=1,999, isprime( polcyclo(i,-2)) && print1( i",")) /* for PARI < 2.4.2 use ...subst(polcyclo(i),x,-2)...*/