login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A142152 Primes congruent to 21 mod 38. 2
59, 97, 173, 211, 401, 439, 743, 857, 971, 1009, 1123, 1237, 1427, 1579, 1693, 1997, 2111, 2339, 2377, 2719, 2833, 2909, 3023, 3061, 3137, 3251, 3517, 3593, 3631, 3821, 4049, 4201, 4391, 4657, 4733, 4999, 5113, 5189, 5227, 5303, 5417, 5531, 5569, 5683, 5987 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Enrique PĂ©rez Herrero, Table of n, a(n) for n = 1..2500

FORMULA

a(n) ~ 18n log n. - Charles R Greathouse IV, Jul 02 2016

MATHEMATICA

isA142152[n_]:=(Mod[n, 38]==21)&&(PrimeQ[n])

Select[Prime[Range[1000]], Mod[#, 38]==21&]

Select[Range[21, 6000, 38], PrimeQ] (* Harvey P. Dale, Nov 06 2019 *)

PROG

(MAGMA)[p: p in PrimesUpTo(7000) | p mod 38 eq 21 ]; // Vincenzo Librandi, Aug 19 2012

(PARI) is(n)=isprime(n) && n%38==21 \\ Charles R Greathouse IV, Jul 02 2016

CROSSREFS

Cf. A000040.

Sequence in context: A039431 A043254 A044034 * A112804 A240339 A199977

Adjacent sequences:  A142149 A142150 A142151 * A142153 A142154 A142155

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane, Jul 11 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 05:36 EDT 2021. Contains 343059 sequences. (Running on oeis4.)