OFFSET
1,1
REFERENCES
M. Kraitchik, Recherches sur la Théorie des Nombres. Gauthiers-Villars, Paris, Vol. 1, 1924, Vol. 2, 1929, see Vol. 1, p. 59.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
MAPLE
q:= p-> isprime(p) and numtheory[order](2, p)=(p-1)/5:
select(q, [$2..20000])[]; # Alois P. Heinz, Dec 12 2023
MATHEMATICA
Reap[For[p = 2, p <= 18000, p = NextPrime[p], If[ MultiplicativeOrder[2, p] == (p-1)/5, Sow[p]]]][[2, 1]] (* James C. McMahon, Dec 12 2023 *)
PROG
(Magma) [ p: p in PrimesUpTo(15541) | r eq 1 and Order(R!2) eq q where q, r is Quotrem(p, 5) where R is ResidueClassRing(p) ]; // Klaus Brockhaus, Dec 02 2008
(PARI) forprime(p=3, 10^5, if(znorder(Mod(2, p))==(p-1)/5, print1(p, ", "))); \\ Joerg Arndt, May 17 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms and better definition from Don Reble, Mar 11 2006
STATUS
approved