OFFSET
1,2
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Illustration of the first terms
FORMULA
Multiplicative with:
- a(p) = p for any prime p,
- a(p^k) = a(k) for any prime p and k > 1.
EXAMPLE
See illustration of the first terms in Links section.
PROG
(PARI) a(n) = my (f=factor(n)); return (prod(i=1, #f~, if (f[i, 2]==1, f[i, 1], a(f[i, 2]))))
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Rémy Sigrist, May 28 2017
STATUS
approved