login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A142244 Primes congruent to 23 mod 42. 3
23, 107, 149, 191, 233, 317, 359, 401, 443, 569, 653, 821, 863, 947, 1031, 1283, 1367, 1409, 1451, 1493, 1619, 1787, 1871, 1913, 1997, 2039, 2081, 2207, 2333, 2417, 2459, 2543, 2711, 2753, 2837, 2879, 2963, 3089, 3257, 3299, 3467, 3593, 3677, 3719, 3761 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

FORMULA

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

MATHEMATICA

Select[Prime[Range[1500]], MemberQ[{23}, Mod[#, 42]]&] (* Vincenzo Librandi, Aug 24 2012 *)

Select[Range[23, 4000, 42], PrimeQ] (* Harvey P. Dale, Dec 18 2013 *)

PROG

(Magma) [p: p in PrimesUpTo(4000) | p mod 42 eq 23 ]; // Vincenzo Librandi, Aug 24 2012

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

CROSSREFS

Cf. A000040.

Sequence in context: A044655 A231439 A180517 * A139912 A176928 A157607

Adjacent sequences: A142241 A142242 A142243 * A142245 A142246 A142247

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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 8 04:10 EST 2023. Contains 360134 sequences. (Running on oeis4.)