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!)
A060431 Number of cubefree numbers <= n. 7
1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 16, 17, 18, 19, 20, 21, 21, 22, 23, 23, 24, 25, 26, 27, 27, 28, 29, 30, 31, 32, 33, 34, 34, 35, 36, 37, 38, 39, 40, 41, 41, 42, 43, 44, 45, 46, 46, 47, 47, 48, 49, 50, 51, 52, 53, 54, 54, 55, 56, 57, 58, 59, 60, 61, 61 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
REFERENCES
I. M. Vinogradov, Elements of the Theory of Numbers,(in Russian), Moscow, 1981, p. 36.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..500 from Harry J. Smith)
FORMULA
a(n)=Sum_{d>=1} mu(d)*floor(n/d^3), mu(d) = Moebius function A008683.
a(n) is asymptotic to (1/zeta(3))*n, see A088453. - Benoit Cloitre, Jun 13 2007
a(n) = sum(A212793(k)): k = 1..n). - Reinhard Zumkeller, May 27 2012
PROG
(PARI) a(n)=sum(k=1, n, moebius(k)*floor(n/k^3)) \\ Benoit Cloitre, Jun 13 2007
(PARI) for (n=1, 500, a=sum(k=1, n, moebius(k)*floor(n/k^3)); write("b060431.txt", n, " ", a)) \\ Harry J. Smith, Jul 05 2009
(PARI) a(n)=my(s); forsquarefree(k=1, sqrtnint(n, 3), s+=n\k[1]^3*moebius(k)); s \\ Charles R Greathouse IV, Jan 08 2018
(Haskell)
a060431 n = a060431_list !! (n-1)
a060431_list = scanl1 (+) a212793_list -- Reinhard Zumkeller, May 27 2012
(Magma) [&+[MoebiusMu(d)*Floor(n div d^3):d in [1..n]]:n in [1..75]]; // Marius A. Burtea, Oct 02 2019
CROSSREFS
Sequence in context: A245336 A356964 A053759 * A228298 A368918 A309082
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Apr 06 2001
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)