|
|
A357689
|
|
a(n) = n/A204455(n), where A204455(n) is the product of odd noncomposite divisors of n.
|
|
1
|
|
|
1, 2, 1, 4, 1, 2, 1, 8, 3, 2, 1, 4, 1, 2, 1, 16, 1, 6, 1, 4, 1, 2, 1, 8, 5, 2, 9, 4, 1, 2, 1, 32, 1, 2, 1, 12, 1, 2, 1, 8, 1, 2, 1, 4, 3, 2, 1, 16, 7, 10, 1, 4, 1, 18, 1, 8, 1, 2, 1, 4, 1, 2, 3, 64, 1, 2, 1, 4, 1, 2, 1, 24, 1, 2, 5, 4, 1, 2, 1, 16, 27, 2, 1, 4, 1, 2, 1, 8, 1, 6, 1, 4, 1, 2, 1, 32, 1, 14, 3, 20
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
Multiplicative with a(p^e) = p^(e-1) if p > 2 and a(2^e) = 2^e. - Amiram Eldar, Oct 10 2022
|
|
EXAMPLE
|
n = A204455(n)*a(n): 1 = 1*1, 2 = 1*2, 3 = 3*1, 4 = 1*4, 5 = 5*1, 6 = 3*2.
|
|
MATHEMATICA
|
f[p_, e_] := p^(e - If[p == 2, 0, 1]); a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Oct 10 2022 *)
|
|
PROG
|
(Magma) [(2*n)/&*PrimeDivisors(2*n): n in [1..100]];
(Magma) [n/&*[d: d in Divisors(n) | d*#[m: m in [0..n-1] | -m^d mod d eq m] eq
#[m: m in [0..n-1] | m^d mod d eq m]]: n in [1..100]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,mult,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|