A152307 Primes p such that the multiplicative order of 2 modulo p is (p-1)/7.
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
Keywords
Links
- Klaus Brockhaus, Table of n, a(n) for n=1..1000
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