login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

31 is a square mod p.
2

%I #9 Sep 07 2012 13:47:27

%S 2,3,5,11,23,31,41,43,79,83,97,101,109,113,127,139,149,151,157,167,

%T 173,179,193,199,223,233,239,251,257,263,271,281,293,317,331,347,349,

%U 367,373,383,397,421,463,487,491

%N 31 is a square mod p.

%C Also, only entries p=1 (mod 4) of the sequence are squares mod 31 (from the quadratic reciprocity law). - _Lekraj Beedassy_, Jul 21 2004

%H Vincenzo Librandi, <a href="/A038905/b038905.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Prime[Range[100]], JacobiSymbol[31, #] != -1 &] (* _Vincenzo Librandi_, Sep 07 2012 *)

%K nonn

%O 1,1

%A _N. J. A. Sloane_.