[go: up one dir, main page]

login
A142408
Primes congruent to 31 mod 48.
1
31, 79, 127, 223, 271, 367, 463, 607, 751, 991, 1039, 1087, 1231, 1279, 1327, 1423, 1471, 1567, 1663, 1759, 1951, 1999, 2143, 2239, 2287, 2383, 2671, 2719, 2767, 3343, 3391, 3583, 3631, 3727, 3823, 3919, 3967, 4111, 4159, 4447, 4591, 4639, 4783, 4831, 5023
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[1000]], MemberQ[{31}, Mod[#, 48]] &] (* Vincenzo Librandi, Aug 27 2012 *)
Select[Range[31, 5100, 48], PrimeQ] (* Harvey P. Dale, Jan 17 2017 *)
PROG
(Magma) [p: p in PrimesUpTo(6000) | p mod 48 eq 31]; // Vincenzo Librandi, Aug 27 2012
(PARI) is(n)=isprime(n) && n%48==31 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A317053 A009408 A165615 * A246929 A033220 A139855
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved