login
Primes p that have Kronecker symbol (p|78) = 1.
5

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

%S 19,29,37,41,47,53,67,71,79,89,101,103,107,109,127,131,137,163,167,

%T 173,179,199,229,239,251,269,281,307,313,331,337,347,349,353,359,367,

%U 379,383,389,397,401,419,421,431,433,439,443,449,467,479,491,499,541,563

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

%C Originally erroneously named "Primes that are squares mod 78", which would be A267455. - _M. F. Hasler_, Jan 18 2016

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

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

%o (Magma) [p: p in PrimesUpTo(563) | KroneckerSymbol(p, 78) eq 1]; // _Vincenzo Librandi_, Sep 11 2012

%o (PARI) is_A191047(p)=kronecker(p, 78)==1&&isprime(p) \\ _M. F. Hasler_, Jan 18 2016

%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