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.

A065328 a(n) is the number of primes less than or equal to prime(n) - n.

This page as a plain text file.
%I A065328 #19 Dec 18 2024 22:40:26
%S A065328 0,0,1,2,3,4,4,5,6,8,8,9,9,10,11,12,13,14,15,15,15,16,17,18,20,21,21,
%T A065328 22,22,23,24,25,27,27,30,30,30,30,31,32,33,34,34,35,36,36,38,40,40,41,
%U A065328 42,42,42,45,46,46,47,47,47,47,47,50,53,53,53,54,56,57,59,59,60,61,62
%N A065328 a(n) is the number of primes less than or equal to prime(n) - n.
%H A065328 Harry J. Smith, <a href="/A065328/b065328.txt">Table of n, a(n) for n = 1..1000</a>
%F A065328 a(n) = A000720(A000040(n) - n).
%t A065328 Table[PrimePi[Prime[n]-n],{n,80}] (* _Harvey P. Dale_, Oct 02 2013 *)
%o A065328 (PARI) a(n) = { primepi(prime(n) - n) } \\ _Harry J. Smith_, Oct 16 2009
%Y A065328 Cf. A000040, A000720.
%K A065328 easy,nonn
%O A065328 1,4
%A A065328 _Labos Elemer_, Oct 29 2001