login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A152307
Primes p such that the multiplicative order of 2 modulo p is (p-1)/7.
2
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,1
LINKS
MATHEMATICA
Select[Prime[Range[4000]], MultiplicativeOrder[2, #]==(#-1)/7&] (* Harvey P. Dale, Oct 10 2024 *)
PROG
(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) ];
(PARI) Vec(select(p->((p!=2) && (znorder(Mod(2, p)) == (p-1)/7)), primes(10000))) \\ Michel Marcus, Feb 09 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Dec 02 2008
STATUS
approved