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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A078837 a(n) = Sum_{k=1..prime(n)-1} floor(k^3/prime(n)). 4
 0, 2, 18, 60, 270, 462, 1080, 1530, 2772, 5670, 6960, 11970, 16380, 18942, 24840, 35802, 49590, 54870, 72930, 86940, 94572, 120120, 139482, 172260, 223440, 252450, 267852, 300510, 317790, 354312, 504000, 553410, 633420, 661710, 815850 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Harvey P. Dale, Table of n, a(n) for n = 1..1000 Jean-Christophe Pain, A prime sum involving Bernoulli numbers, arXiv:2303.07934 [math.HO], 2023. See (22) p. 4. Eric Weisstein's World of Mathematics, Prime Sums. FORMULA a(n) = (1/4)*(prime(n)-2)*(prime(n)-1)*(prime(n)+1). MATHEMATICA Table[(Times@@(Prime[n]+{1, -1, -2}))/4, {n, 40}] (* Harvey P. Dale, Dec 31 2020 *) PROG (PARI) a(n) = my(p=prime(n)); sum(k=1, p-1, k^3\p); \\ Michel Marcus, Mar 16 2023 CROSSREFS Sequence in context: A085293 A119118 A213820 * A232155 A112365 A242200 Adjacent sequences: A078834 A078835 A078836 * A078838 A078839 A078840 KEYWORD nonn AUTHOR Benoit Cloitre, Dec 08 2002 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.

Last modified September 26 14:19 EDT 2023. Contains 365660 sequences. (Running on oeis4.)