A141941 Primes congruent to 18 mod 25.
43, 193, 293, 443, 593, 643, 743, 1093, 1193, 1493, 1543, 1693, 1993, 2143, 2243, 2293, 2393, 2543, 2593, 2693, 2843, 3343, 3593, 3643, 3793, 3943, 4093, 4243, 4493, 4643, 4793, 4943, 4993, 5393, 5443, 5693, 5743, 5843, 6043, 6143, 6343, 6793, 7043, 7193
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A000040.
Programs
-
Magma
[p: p in PrimesUpTo(8000) | p mod 25 eq 18 ]; // Vincenzo Librandi, Aug 16 2012
-
Mathematica
Select[Range[18, 20000, 25], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jun 15 2011 *)
-
PARI
is(n)=isprime(n) && n%25==18 \\ Charles R Greathouse IV, Jul 02 2016
-
Python
from itertools import count, islice from sympy import isprime def A141941_gen(): # generator of terms return filter(isprime,count(43,50)) A141941_list = list(islice(A141941_gen(),48)) # Chai Wah Wu, Apr 28 2025
Formula
a(n) ~ 20n log n. - Charles R Greathouse IV, Jul 02 2016
Comments