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.

A132240 Primes congruent to {1, 29} mod 30.

Original entry on oeis.org

29, 31, 59, 61, 89, 149, 151, 179, 181, 211, 239, 241, 269, 271, 331, 359, 389, 419, 421, 449, 479, 509, 541, 569, 571, 599, 601, 631, 659, 661, 691, 719, 751, 809, 811, 839, 929, 991, 1019, 1021, 1049, 1051, 1109, 1171, 1201, 1229, 1231
Offset: 1

Views

Author

Omar E. Pol, Aug 15 2007

Keywords

Comments

For every prime p here, the cyclotomic polynomial Phi(15p,x) is flat.
Primes in A175887. [Reinhard Zumkeller, Jan 07 2012]

Crossrefs

Programs

  • Haskell
    a132240 n = a132240_list !! (n-1)
    a132240_list = [x | x <- a175887_list, a010051 x == 1]
    -- Reinhard Zumkeller, Jan 07 2012
    
  • Magma
    [ p: p in PrimesUpTo(1300) | p mod 30 in {1, 29} ]; // Vincenzo Librandi, Aug 14 2012
  • Mathematica
    Select[Prime[Range[1000]],MemberQ[{1,29},Mod[#,30]]&] (* Vincenzo Librandi, Aug 14 2012 *)
    Select[Flatten[#+{1,29}&/@(30Range[0,50])],PrimeQ] (* Harvey P. Dale, Sep 08 2021 *)