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.

A195007 Number of primes in the range (n*sqrt(n-1), (n+1)*sqrt(n)].

This page as a plain text file.
%I A195007 #15 Aug 03 2014 14:01:33
%S A195007 1,1,1,1,2,1,1,1,1,1,1,2,1,1,2,1,2,1,1,1,1,3,2,0,1,2,1,2,1,2,1,2,2,2,
%T A195007 1,0,3,2,1,2,1,3,2,1,1,3,0,2,2,2,1,2,2,2,1,2,2,3,1,3,1,2,2,1,2,1,1,2,
%U A195007 3,2,2,4,1,2,2,2,3,1,2,1,2,3,2,2,1,1
%N A195007 Number of primes in the range (n*sqrt(n-1), (n+1)*sqrt(n)].
%e A195007 a(1)=1`because 1*sqrt(1-1)<(prime 2)<=(1+1)*sqrt(1),
%e A195007 a(2)=1 because 2*sqrt(2-1)<(prime 3)<=(2+1)*sqrt(2).
%t A195007 Table[PrimePi[(n+1)*Sqrt[n]] - PrimePi[n*Sqrt[n-1]], {n, 100}] (* _T. D. Noe_, Sep 14 2011 *)
%Y A195007 Cf. A006005, A192454.
%K A195007 nonn
%O A195007 1,5
%A A195007 _Juri-Stepan Gerasimov_, Sep 07 2011