|
|
A368170
|
|
The largest cubefull exponentially odd divisor of n.
|
|
3
|
|
|
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, 32, 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, 32, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 8, 27, 1, 1, 1, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,8
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Multiplicative with a(p^e) = 1 if e <= 2, a(p^e) = p^e if e is odd and e > 1, and p^(e-1) otherwise.
a(n) >= 1, with equality if and only if n is cubefree (A004709).
a(n) <= n, with equality if and only if n is in A335988.
|
|
MATHEMATICA
|
f[p_, e_] := If[e <= 2, 1, If[EvenQ[e], p^(e-1), p^e]]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
|
|
PROG
|
(PARI) a(n) = {my(f=factor(n)); prod(i=1, #f~, if(f[i, 2] <= 2, 1, if(!(f[i, 2]%2), f[i, 1]^(f[i, 2]-1), f[i, 1]^f[i, 2])))};
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,mult
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|