login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A273462 Rounded variance of the first n primes, for n > 1. 6
0, 2, 5, 13, 19, 31, 41, 56, 81, 103, 136, 171, 201, 235, 280, 335, 384, 444, 505, 560, 626, 693, 772, 869, 966, 1055, 1145, 1229, 1314, 1447, 1578, 1719, 1849, 2008, 2156, 2313, 2479, 2644, 2818, 3000, 3171, 3372, 3560, 3748, 3925, 4142, 4398, 4651, 4890 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
LINKS
FORMULA
a(n) = round(Sum_{i=1..n} (prime(i) - Sum_{j=1..n} prime(j)/n)^2/(n - 1)), n > 1.
MATHEMATICA
Table[Round[Variance[Prime[Range[j]]]], {j, 2, 50}]
PROG
(Sage) round(variance(primes_first_n(n))) # Danny Rorabaugh, May 25 2016
CROSSREFS
Mean and variance of primes: A301273/A301274, A301275/A301276, A301277, A273462.
Sequence in context: A073770 A077545 A069943 * A368749 A094158 A307244
KEYWORD
nonn
AUTHOR
Andres Cicuttin, May 23 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)