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.

A152307 Primes p such that the multiplicative order of 2 modulo p is (p-1)/7.

Original entry on oeis.org

1163, 1709, 2003, 3109, 3389, 3739, 5237, 5531, 5867, 7309, 9157, 9829, 10627, 10739, 11117, 11243, 11299, 11411, 11467, 13259, 18803, 20147, 20483, 21323, 21757, 27749, 27763, 29947, 30773, 31123, 31627, 32803, 33461, 33587, 34469
Offset: 1

Views

Author

Klaus Brockhaus, Dec 02 2008

Keywords

Crossrefs

Programs

  • Magma
    [ p: p in PrimesUpTo(34469) | r eq 1 and Order(R!2) eq q where q,r is Quotrem(p,7) where R is ResidueClassRing(p) ];
    
  • Mathematica
    Select[Prime[Range[4000]],MultiplicativeOrder[2,#]==(#-1)/7&] (* Harvey P. Dale, Oct 10 2024 *)
  • PARI
    Vec(select(p->((p!=2) && (znorder(Mod(2, p)) == (p-1)/7)), primes(10000))) \\ Michel Marcus, Feb 09 2015