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.

A160759 Integer averages of n values of pi(n^2) for some n, where pi(n) is the number of primes <= n.

This page as a plain text file.
%I A160759 #10 Mar 15 2015 17:19:15
%S A160759 0,1,2,3,201,235,265,431,1705,11744,33946,622755,3446493,8134880,
%T A160759 14287916,208340425,223689468
%N A160759 Integer averages of n values of pi(n^2) for some n, where pi(n) is the number of primes <= n.
%C A160759 For values of n: 1, 2, 3, 4, 62, 68, 73, 97, 213, 624, 1116, 5364, 13350, 21048, 28351, 116151, 120562, ..., . [_Robert G. Wilson v_, Jun 05 2009]
%F A160759 1/k*Sum {j=1..k} Pi(j^2) is an integer. [_Robert G. Wilson v_, Jun 05 2009]
%t A160759 lst = {}; s = 0; k = 1; While[k < 239600, s = s + PrimePi[k^2]; If[ Mod[s, k] == 0, AppendTo[lst, s/c]]; k++ ]; lst (* _Robert G. Wilson v_, Jun 05 2009 *)
%Y A160759 Cf. A050248, Integer averages of n primes for some n.
%K A160759 nonn,more
%O A160759 1,3
%A A160759 _Daniel Tisdale_, May 25 2009
%E A160759 More terms from _Robert G. Wilson v_, Jun 05 2009