A191031 Primes that are squares mod 43.
11, 13, 17, 23, 31, 41, 47, 53, 59, 67, 79, 83, 97, 101, 103, 107, 109, 127, 139, 167, 173, 181, 193, 197, 229, 239, 251, 269, 271, 281, 283, 293, 307, 311, 317, 337, 353, 359, 367, 379, 397, 401, 431, 439, 443, 461, 479, 487, 509, 541, 547, 557, 563, 569
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[p: p in PrimesUpTo(569) | JacobiSymbol(p,43) eq 1]; // Vincenzo Librandi, Sep 10 2012
-
Mathematica
Select[Prime[Range[200]], JacobiSymbol[#, 43] == 1 &]
-
PARI
isok(n) = isprime(n) && issquare(Mod(n, 43)); \\ Michel Marcus, Apr 15 2018
Comments