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.

A349996 Number of primes in an interval [k^2,(k+1)^2] setting a new record.

This page as a plain text file.
%I A349996 #12 Dec 17 2024 12:57:01
%S A349996 2,3,4,5,6,7,9,10,12,13,15,16,17,21,22,23,24,27,29,30,31,33,34,35,36,
%T A349996 38,39,40,41,42,44,46,48,49,50,53,56,59,60,64,66,67,74,75,77,78,80,82,
%U A349996 84,91,96,97,98,103,105,109,110,111,112,119,125,129,133,135,139,146
%N A349996 Number of primes in an interval [k^2,(k+1)^2] setting a new record.
%H A349996 Hugo Pfoertner, <a href="/A349996/b349996.txt">Table of n, a(n) for n = 1..2532</a>
%F A349996 a(n) = A014085(A333846(n)).
%o A349996 (PARI) a349996(limit) = {my(nmax=0);for(k=1,limit,my(np=primepi((k+1)^2)-primepi(k^2));if(np>nmax,print1(np,", ");nmax=np))};
%o A349996 a349996(900)
%Y A349996 Cf. A014085, A333846, A349999.
%K A349996 nonn
%O A349996 1,1
%A A349996 _Hugo Pfoertner_, Dec 11 2021