login
Primes p that have Kronecker symbol (p|30) = -1.
2

%I #16 Sep 08 2022 08:45:57

%S 7,19,41,53,61,71,73,83,89,97,103,107,109,127,139,173,181,191,193,197,

%T 211,223,227,229,239,281,293,311,313,317,331,337,347,349,359,367,379,

%U 401,421,431,433,443,449,457,463,467,479,487,499,521,541,557,563,569

%N Primes p that have Kronecker symbol (p|30) = -1.

%C Originally erroneously named "Primes that are not squares mod 30". - _M. F. Hasler_, Jan 18 2016

%D Hirschhorn, Michael D. "On the 2-and 4-dissections of the Rogers-Ramanujan functions." The Ramanujan Journal 40.2 (2016): 227-235.

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

%t Select[Prime[Range[200]], JacobiSymbol[#,30]==-1&]

%o (Magma) [p: p in PrimesUpTo(569) | KroneckerSymbol(p, 30) eq -1]; // _Bruno Berselli_, Sep 11 2012

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 25 2011

%E Definition corrected, following a suggestion from _David Broadhurst_, by _M. F. Hasler_, Jan 18 2016