login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A147969 Smallest prime p modulo which numbers 1,2,...,n are quadratic residues. 4
2, 7, 23, 23, 71, 71, 311, 311, 311, 311, 479, 479, 1559, 1559, 1559, 1559, 5711, 5711, 10559, 10559, 10559, 10559, 18191, 18191, 18191, 18191, 18191, 18191, 31391, 31391, 366791, 366791, 366791, 366791, 366791, 366791, 366791, 366791, 366791 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The same primes without repetitions are listed in A147970.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..100
PROG
(PARI) a(n)=forprime(p=2, default(primelimit), forprime(i=2, n, if(kronecker(i, p)<1, next(2))); return(p)) \\ Charles R Greathouse IV, Apr 06 2012
CROSSREFS
Sequence in context: A170870 A122631 A269313 * A235985 A045381 A180537
KEYWORD
nonn
AUTHOR
Max Alekseyev, Nov 18 2008
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 13:51 EDT 2024. Contains 371914 sequences. (Running on oeis4.)