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.

A273462 Rounded variance of the first n primes, for n > 1.

This page as a plain text file.
%I A273462 #23 Mar 18 2018 08:51:58
%S A273462 0,2,5,13,19,31,41,56,81,103,136,171,201,235,280,335,384,444,505,560,
%T A273462 626,693,772,869,966,1055,1145,1229,1314,1447,1578,1719,1849,2008,
%U A273462 2156,2313,2479,2644,2818,3000,3171,3372,3560,3748,3925,4142,4398,4651,4890
%N A273462 Rounded variance of the first n primes, for n > 1.
%H A273462 Chai Wah Wu, <a href="/A273462/b273462.txt">Table of n, a(n) for n = 2..10000</a>
%F A273462 a(n) = round(Sum_{i=1..n} (prime(i) - Sum_{j=1..n} prime(j)/n)^2/(n - 1)), n > 1.
%t A273462 Table[Round[Variance[Prime[Range[j]]]], {j, 2, 50}]
%o A273462 (Sage) round(variance(primes_first_n(n))) # _Danny Rorabaugh_, May 25 2016
%Y A273462 Cf. A075465, A075471, A272206.
%Y A273462 Mean and variance of primes: A301273/A301274, A301275/A301276, A301277, A273462.
%K A273462 nonn
%O A273462 2,2
%A A273462 _Andres Cicuttin_, May 23 2016