OFFSET
1,3
COMMENTS
a(n) = n only for n = 1, 3 and 4.
n divides a(n) for all n except 2.
Conjecture: a(n) is odd iff the sum of totatives of n (A023896) is odd.
FORMULA
a(n) = Product_{d|n} A023896(d).
EXAMPLE
For n=6; sets of totatives of divisors of 6: {1}, {1}, {1, 2}, {1, 5}; a(6) = 1*1*(1+2)*(1+5) = 18.
MATHEMATICA
Table[Product[Total@ Select[Range@ d, CoprimeQ[d, #] &], {d, Divisors@ n}], {n, 43}] (* Michael De Vlieger, Dec 30 2016 *)
PROG
(Magma) [&*[&+[h: h in [1..d] | GCD(h, d) eq 1]: d in Divisors(n)]: n in [1..100]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Dec 30 2016
STATUS
approved