The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A013941 a(n) = Sum_{k = 1..n} floor(n/prime(k)^3). 1
0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,16
LINKS
FORMULA
G.f.: (1/(1 - x))*Sum_{k>=1} x^(prime(k)^3)/(1 - x^(prime(k)^3)). - Ilya Gutkovskiy, Feb 11 2017
MAPLE
A013941:=n->add(floor(n/ithprime(k)^3), k=1..n): seq(A013941(n), n=1..150); # Wesley Ivan Hurt, Jan 29 2017
MATHEMATICA
Table[Floor[Sum[n/Prime[k]^3, {k, n}]], {n, 75}] (* Alonso del Arte, Jan 29 2017 *)
PROG
(PARI) a(n) = sum(k = 1, n, n\prime(k)^3); \\ Michel Marcus, Aug 24 2013
CROSSREFS
Cf. A013940.
Partial sums of A295659.
Sequence in context: A179528 A105390 A347941 * A061798 A345206 A318585
KEYWORD
nonn,easy
AUTHOR
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 June 3 20:36 EDT 2024. Contains 373088 sequences. (Running on oeis4.)