LINKS
Amiram Eldar, <a href="/A086471/b086471_1.txt">Table of n, a(n) for n = 1..10000</a>
Amiram Eldar, <a href="/A086471/b086471_1.txt">Table of n, a(n) for n = 1..10000</a>
reviewed
approved
proposed
reviewed
editing
proposed
a(p) = p and a(p^r) = p^(T(r)) where p is a prime and T(r) = the r-th triangular number = r(r+1)/2.
a(p) = p and a(p^r) = p^(T(r)) where p is a prime and T(r) = the r-th triangular number = r(r+1)/2.
reviewed
editing
proposed
reviewed
editing
proposed
Amiram Eldar, <a href="/A086471/b086471_1.txt">Table of n, a(n) for n = 1..10000</a>
a[n_] := Module[{d = Rest[Divisors[n]]}, Times @@ DeleteDuplicatesBy[{#, Sort[FactorInteger[#][[;; , 2]]]} & /@ d, Last][[;; , 1]]]; Array[a, 60] (* Amiram Eldar, Jul 25 2024 *)
approved
editing
proposed
approved