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!)
A142161 Primes congruent to 4 mod 39. 1
43, 199, 277, 433, 823, 1213, 1291, 1447, 1759, 1993, 2383, 2539, 2617, 2851, 3163, 3319, 3631, 3709, 3943, 4021, 4099, 4177, 4567, 4723, 4801, 4957, 5113, 5347, 5503, 5581, 5659, 5737, 6361, 6673, 6829, 6907, 7219, 7297, 7687, 8233, 8311, 8389, 8467, 8623 (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) ~ 24n log n. - Charles R Greathouse IV, Jul 03 2016

MATHEMATICA

Select[Prime[Range[3000]], MemberQ[{4}, Mod[#, 39]]&] (* Vincenzo Librandi, Aug 19 2012 *)

Select[Range[4, 9000, 39], PrimeQ] (* Harvey P. Dale, Oct 09 2015 *)

PROG

(MAGMA) [p: p in PrimesUpTo(9000) | p mod 39 eq 4 ]; // Vincenzo Librandi, Aug 19 2012

(PARI) is(n)=isprime(n) && n%39==4 \\ Charles R Greathouse IV, Jul 03 2016

CROSSREFS

Cf. A000040.

Sequence in context: A342509 A145650 A142527 * A193144 A142659 A140041

Adjacent sequences:  A142158 A142159 A142160 * A142162 A142163 A142164

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 June 21 09:08 EDT 2021. Contains 345358 sequences. (Running on oeis4.)