login
A390691
The largest divisor of n that is a Loeschian number (A003136).
4
1, 1, 3, 4, 1, 3, 7, 4, 9, 1, 1, 12, 13, 7, 3, 16, 1, 9, 19, 4, 21, 1, 1, 12, 25, 13, 27, 28, 1, 3, 31, 16, 3, 1, 7, 36, 37, 19, 39, 4, 1, 21, 43, 4, 9, 1, 1, 48, 49, 25, 3, 52, 1, 27, 1, 28, 57, 1, 1, 12, 61, 31, 63, 64, 13, 3, 67, 4, 3, 7, 1, 36, 73, 37, 75, 76
OFFSET
1,3
COMMENTS
The number of these divisors is A375325(n) and their sum is A390690(n).
LINKS
FORMULA
Multiplicative with a(p^e) = p^(2*floor(e/2)) if p == 2 (mod 3), and p^e otherwise.
a(n) = n / A390692(n).
a(n) = n if and only if n is in A003136.
a(n) = 1 if and only if n is squarefree and all the prime factors of n are == 2 (mod 3).
MATHEMATICA
f[p_, e_] := If[Mod[p, 3] == 2, p^(2*Floor[e/2]), 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~, f[i, 1]^if(f[i, 1]%3 == 2, 2*(f[i, 2]\2), f[i, 2])); }
CROSSREFS
KEYWORD
nonn,mult,easy
AUTHOR
Amiram Eldar, Nov 15 2025
STATUS
approved