cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A141946 Primes congruent to 24 mod 25.

This page as a plain text file.
%I A141946 #17 Apr 29 2025 04:52:13
%S A141946 149,199,349,449,499,599,1049,1249,1399,1499,1549,1699,1949,1999,2099,
%T A141946 2399,2549,2699,2749,2999,3049,3299,3449,3499,4049,4099,4349,4549,
%U A141946 4649,4799,4999,5099,5399,5449,5749,5849,6199,6299,6449,6599,6899,6949,7349,7499
%N A141946 Primes congruent to 24 mod 25.
%C A141946 Primes congruent to 49 mod 50. - _Chai Wah Wu_, Apr 28 2025
%H A141946 Vincenzo Librandi, <a href="/A141946/b141946.txt">Table of n, a(n) for n = 1..1000</a>
%F A141946 a(n) ~ 20n log n. - _Charles R Greathouse IV_, Jul 02 2016
%t A141946 Select[Range[24, 20000, 25], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 15 2011 *)
%o A141946 (Magma) [p: p in PrimesUpTo(8000) | p mod 25 eq 24 ]; // _Vincenzo Librandi_, Aug 16 2012
%o A141946 (PARI) is(n)=isprime(n) && n%25==24 \\ _Charles R Greathouse IV_, Jul 02 2016
%o A141946 (Python)
%o A141946 from itertools import count, islice
%o A141946 from sympy import isprime
%o A141946 def A141946_gen(): # generator of terms
%o A141946     return filter(isprime,count(49,50))
%o A141946 A141946_list = list(islice(A141946_gen(),48)) # _Chai Wah Wu_, Apr 28 2025
%Y A141946 Cf. A000040.
%K A141946 nonn,easy
%O A141946 1,1
%A A141946 _N. J. A. Sloane_, Jul 11 2008