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!)
A078838 a(n) = Sum_{k=1..(p-1)*(p-2)} floor((k*p)^(1/3)) where p is the n-th prime. 0
0, 2, 30, 120, 630, 1122, 2760, 3978, 7392, 15498, 19140, 33390, 46020, 53382, 70380, 102102, 142158, 157530, 210210, 251160, 273492, 348348, 405162, 501468, 652080, 737550, 782952, 879270, 930258, 1038072, 1480500, 1626690, 1863540 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Prime sums.
FORMULA
a(n) = (1/4)*(3*p-5)*(p-2)*(p-1) where p = prime(n).
PROG
(PARI) a(n) = my(p=prime(n)); sum(k=1, (p-1)*(p-2), sqrtnint(k*p, 3)); \\ Michel Marcus, Mar 01 2023
CROSSREFS
Sequence in context: A193177 A157870 A285991 * A267851 A089288 A232602
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Dec 08 2002
EXTENSIONS
Name edited by Michel Marcus, Mar 01 2023
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 July 16 05:19 EDT 2024. Contains 374343 sequences. (Running on oeis4.)