|
|
A061537
|
|
Product of unitary divisors of n.
|
|
11
|
|
|
1, 2, 3, 4, 5, 36, 7, 8, 9, 100, 11, 144, 13, 196, 225, 16, 17, 324, 19, 400, 441, 484, 23, 576, 25, 676, 27, 784, 29, 810000, 31, 32, 1089, 1156, 1225, 1296, 37, 1444, 1521, 1600, 41, 3111696, 43, 1936, 2025, 2116, 47, 2304, 49, 2500, 2601, 2704, 53, 2916
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Also appears to be smallest number m such that A066296(m) = n.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
n = 288, unitary divisors = {1,9,32,288}, a(288) = 82944
|
|
MAPLE
|
a:= n-> mul(`if`(igcd(d, n/d)=1, d, 1), d=numtheory[divisors](n)):
|
|
MATHEMATICA
|
Table[Times@@ Select[Divisors[n], GCD[#, n/#]==1 &], {n, 1, 100}] (* Indranil Ghosh, Aug 04 2017 *)
|
|
PROG
|
(PARI) { for (n=1, 1000, s=divisors(n); a=1; for (i=2, length(s), d=s[i]; if (gcd(d, n/d)==1, a*=d)); write("b061537.txt", n, " ", a) ) } \\ Harry J. Smith, Jul 24 2009
(Python)
from sympy import divisors, gcd, prod
def a(n): return prod(d for d in divisors(n) if gcd(d, n//d)==1)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|