|
|
A008834
|
|
Largest cube dividing n.
|
|
16
|
|
|
1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 27, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 27, 1, 8, 1, 1, 1, 1, 1, 1, 1, 64, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 8, 27
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,8
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Cubic Part.
|
|
FORMULA
|
Multiplicative with a(p^e) = p^(3[e/3]). - Mitch Harris, Apr 19 2005
Dirichlet g.f.: zeta(s)*zeta(3s-3)/zeta(3s). The Dirichlet convolution of this sequence with A050985 generates A000203. - R. J. Mathar, Apr 05 2011
Sum_{k=1..n} a(k) ~ 45 * zeta(4/3) * n^(4/3) / (2*Pi^4). - Vaclav Kotesovec, Jan 31 2019
|
|
MAPLE
|
with(numtheory): [ seq( expand(nthpow(i, 3)), i=1..200) ];
# alternative:
local p;
a := 1 ;
for p in ifactors(n)[2] do
e := floor(op(2, p)/3) ;
a := a*op(1, p)^(3*e) ;
end do:
a ;
end proc:
|
|
MATHEMATICA
|
a[n_] := Times @@ (#[[1]]^(#[[2]] - Mod[#[[2]], 3]) & ) /@ FactorInteger[n]; Table[a[n], {n, 1, 81}]
upto=1000; Flatten[With[{c=Range[Floor[Surd[upto, 3]], 1, -1]^3}, Table[ Select[ c, Divisible[n, #]&, 1], {n, upto}]]](* Harvey P. Dale, Apr 07 2013 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,mult
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|