OFFSET
1,2
LINKS
FORMULA
EXAMPLE
For n = 24, its divisors larger than one are: 2, 3, 4, 6, 8, 12, 24. Only 2 has valuation > 1, namely A286561(24,2) = 3 (as 2^3 divides 24), while the other six have valuation 1. Thus a(24) = prime(1)^6 * prime(3) = 64*5 = 320.
For n = 64, its divisors larger than one are: 2, 4, 8, 16, 32, 64. We see that 2^6 = 4^3 = 8^2 = 64, while valuation of the last three 16, 32 and 64 is 1. Thus a(64) = prime(1)^3 * prime(2) * prime(3) * prime(6) = 2^3 * 3 * 5 * 13 = 1560.
PROG
(PARI) A293514(n) = { my(m=1); fordiv(n, d, if(d>1, m *= prime(valuation(n, d)))); m; };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 11 2017
STATUS
approved