login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A002223 Smallest prime p of form p = 8k-1 such that first n primes (p_1=2, ..., p_n) are quadratic residues mod p.
(Formerly M4382 N1843)
15
7, 23, 71, 311, 479, 1559, 5711, 10559, 18191, 31391, 366791, 366791, 366791, 4080359, 12537719, 30706079, 36415991, 82636319, 120293879, 120293879, 131486759, 131486759, 2929911599, 2929911599, 7979490791, 33857579279 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

REFERENCES

N. D. Bronson and D. A. Buell, Congruential sieves on FPGA computers, pp. 547-551 of Mathematics of Computation 1943-1993 (Vancouver, 1993), Proc. Symp. Appl. Math., Vol. 48, Amer. Math. Soc. 1994.

D. H. Lehmer, E. Lehmer and D. Shanks, Integer sequences having prescribed quadratic character, Math. Comp., 24 (1970), 433-451.

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).

A. E. Western and J. C. P. Miller, Tables of Indices and Primitive Roots. Royal Society Mathematical Tables, Vol. 9, Cambridge Univ. Press, 1968, p. XV.

LINKS

Table of n, a(n) for n=1..26.

EXAMPLE

12^2 = 2 mod 71, 28^2 = 3 mod 71, 17^2 = 5 mod 71.

MATHEMATICA

np[] := While[p = NextPrime[p]; Mod[p, 8] != 7]; p = 2; A002223 = {}; pp = {2}; np[]; While[ Length[A002223] < 26, If[Union[ JacobiSymbol[#, p] &[pp]] === {1}, AppendTo[pp, NextPrime[Last[pp]]]; Print[p]; AppendTo[A002223, p], np[]]]; A002223 (* Jean-Fran├žois Alcover, Sep 09 2011 *)

CROSSREFS

Cf. A045535, A002224, A002225.

Sequence in context: A045535 A001984 A147972 * A034563 A242496 A048539

Adjacent sequences:  A002220 A002221 A002222 * A002224 A002225 A002226

KEYWORD

nonn,easy,nice

AUTHOR

N. J. A. Sloane.

EXTENSIONS

The Bronson-Buell reference gives terms through 227.

More terms from Don Reble (djr(AT)nk.ca), Sep 19 2001

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified December 22 21:10 EST 2014. Contains 252372 sequences.