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!)
A291208 Number of noncube divisors of n. 2
0, 1, 1, 2, 1, 3, 1, 2, 2, 3, 1, 5, 1, 3, 3, 3, 1, 5, 1, 5, 3, 3, 1, 6, 2, 3, 2, 5, 1, 7, 1, 4, 3, 3, 3, 8, 1, 3, 3, 6, 1, 7, 1, 5, 5, 3, 1, 8, 2, 5, 3, 5, 1, 6, 3, 6, 3, 3, 1, 11, 1, 3, 5, 4, 3, 7, 1, 5, 3, 7, 1, 10, 1, 3, 5, 5, 3, 7, 1, 8, 3, 3, 1, 11, 3, 3, 3, 6, 1, 11, 3, 5, 3, 3, 3, 10, 1, 5, 5, 8, 1, 7, 1, 6, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
G.f.: Sum_{k>=1} x^A007412(k)/(1 - x^A007412(k)).
G.f.: Sum_{k>=1} (x^k - x^(k^3))/((1 - x^k)*(1 - x^(k^3))).
a(n) = A000005(n) - A061704(n).
EXAMPLE
a(8) = 2 because 8 has 4 divisors {1, 2, 4, 8} among which 2 are noncubes {2, 4}.
MATHEMATICA
nmax = 105; Rest[CoefficientList[Series[Sum[(x^k - x^k^3)/((1 - x^k) (1 - x^k^3)), {k, 1, nmax}], {x, 0, nmax}], x]]
PROG
(PARI) a(n) = sumdiv(n, d, !ispower(d, 3)); \\ Michel Marcus, Aug 21 2017
CROSSREFS
Sequence in context: A323014 A350331 A293227 * A241165 A233183 A035942
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 21 2017
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 May 13 09:49 EDT 2024. Contains 372504 sequences. (Running on oeis4.)