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
MATHEMATICA
Reap[For[p = 2, p < 10^4, p = NextPrime[p], If[MultiplicativeOrder[2, p] == (p-1)/3, Sow[p]]]][[2, 1]] (* Jean-François Alcover, Dec 10 2015 *)
PROG
(Magma) [ p: p in PrimesUpTo(4597) | r eq 1 and Order(R!2) eq q where q, r is Quotrem(p, 3) where R is ResidueClassRing(p) ]; // Klaus Brockhaus, Dec 02 2008
(PARI) forprime(p=3, 10^4, if(znorder(Mod(2, p))==(p-1)/3, 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