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.

A061239 Prime numbers == 4 (mod 9).

This page as a plain text file.
%I A061239 #21 May 14 2025 14:55:53
%S A061239 13,31,67,103,139,157,193,211,229,283,337,373,409,463,499,571,607,643,
%T A061239 661,733,751,769,787,823,859,877,967,1021,1039,1093,1129,1201,1237,
%U A061239 1291,1327,1381,1399,1453,1471,1489,1543,1579,1597,1669,1723,1741,1759
%N A061239 Prime numbers == 4 (mod 9).
%C A061239 A010888(a(n)) = 4. - _Reinhard Zumkeller_, Feb 25 2005
%H A061239 Harvey P. Dale, <a href="/A061239/b061239.txt">Table of n, a(n) for n = 1..1000</a>
%F A061239 a(n) ~ 6n log n. - _Charles R Greathouse IV_, May 14 2025
%t A061239 Select[ Range[ 2000 ], PrimeQ[ # ] && Mod[ #, 9 ] == 4 & ]
%t A061239 Select[Prime[Range[300]],Mod[#,9]==4&] (* _Harvey P. Dale_, Aug 20 2015 *)
%o A061239 (Magma)[ p: p in PrimesUpTo(2000) | p mod 9 in {4} ]; // _Vincenzo Librandi_, Dec 25 2010
%o A061239 (PARI) select(n->n%9==4, primes(400)) \\ _Charles R Greathouse IV_, May 27 2014
%Y A061239 Cf. A061237..A061242.
%K A061239 nonn,easy
%O A061239 1,1
%A A061239 _Amarnath Murthy_, Apr 23 2001
%E A061239 More terms from _Robert G. Wilson v_, May 10 2001