login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes congruent to 4 mod 25.
4

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

%S 29,79,179,229,379,479,829,929,1129,1229,1279,1429,1579,1879,1979,

%T 2029,2129,2179,2579,2729,2879,3079,3229,3329,3529,3779,3929,4079,

%U 4129,4229,4679,4729,5179,5279,5479,5779,5879,6029,6079,6229,6329,6379,6529,6679

%N Primes congruent to 4 mod 25.

%H Vincenzo Librandi, <a href="/A141930/b141930.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[4, 20000, 25], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 18 2011 *)

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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