login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A258249 Lexicographically smallest sequence of primes such that Legendre symbol (a(1)*...*a(n-1) / a(n)) = 1 for all n. 0

%I

%S 2,7,3,11,43,5,13,17,47,19,23,61,29,41,59,31,53,67,71,79,37,83,73,101,

%T 89,103,127,97,107,113,131,139,109,151,149,137,163,157,173,197,167,

%U 179,181,191,193,223,227,199,233,211,229,239,241,263,251,269,257,271,277,281,283,311,293,307,317,331

%N Lexicographically smallest sequence of primes such that Legendre symbol (a(1)*...*a(n-1) / a(n)) = 1 for all n.

%o (PARI) { P=1; for(n=1,100, p=2; while( kronecker(p,P)!=1, p=nextprime(p+1)); print1(p,", "); P*=p) }

%Y Cf. A167604

%K nonn

%O 1,1

%A _Max Alekseyev_, May 24 2015

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 18 16:24 EDT 2021. Contains 347528 sequences. (Running on oeis4.)