OFFSET
1,1
LINKS
Klaus Brockhaus, Table of n, a(n) for n=1..1000
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,changed
AUTHOR
Klaus Brockhaus, Dec 02 2008
STATUS
approved