login
Primes congruent to 7 mod 25.
3

%I #12 Sep 08 2022 08:45:35

%S 7,107,157,257,307,457,557,607,757,857,907,1307,1607,1657,1907,2207,

%T 2357,2557,2657,2707,2857,2957,3257,3307,3407,3457,3557,3607,3907,

%U 4007,4057,4157,4357,4457,4507,4657,4957,5107,5407,5507,5557,5657,5807,5857,6007

%N Primes congruent to 7 mod 25.

%H Vincenzo Librandi, <a href="/A141932/b141932.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) ~ 20n log n. - _Charles R Greathouse IV_, Jul 02 2016

%t Select[Range[7, 20000, 25], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 18 2011 *)

%o (Magma) [p: p in PrimesUpTo(7000) | p mod 25 eq 7 ]; // _Vincenzo Librandi_, Aug 16 2012

%o (PARI) is(n)=isprime(n) && n%25==7 \\ _Charles R Greathouse IV_, Jul 02 2016

%Y Cf. A000040.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, Jul 11 2008