[go: up one dir, main page]

login
A014150
Apply partial sum operator thrice to primes.
11
2, 9, 26, 60, 122, 225, 386, 624, 962, 1429, 2056, 2880, 3942, 5285, 6956, 9008, 11500, 14493, 18054, 22254, 27166, 32869, 39446, 46986, 55586, 65347, 76372, 88768, 102644, 118113, 135302, 154342, 175370
OFFSET
1,1
COMMENTS
Row 3 in A254858. - Reinhard Zumkeller, Feb 08 2015
LINKS
MATHEMATICA
lst={}; s1=0; s2=0; s3=0; Do[s1=s1+Prime[n]; s2=s2+s1; s3=s3+s2; AppendTo[lst, s3], {n, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Sep 15 2008 *)
With[{nn=3}, Nest[Accumulate[#]&, Prime[Range[50]], nn]] (* Harvey P. Dale, Feb 07 2015 *)
PROG
(Haskell)
a014150 n = a014150_list !! (n-1)
a014150_list = (iterate (scanl1 (+)) a000040_list) !! 3
-- Reinhard Zumkeller, Feb 08 2015
CROSSREFS
KEYWORD
nonn
EXTENSIONS
Offset fixed by Reinhard Zumkeller, Feb 08 2015
STATUS
approved