OFFSET
1,4
COMMENTS
For n>1: a(n)=1 iff n is prime.
FORMULA
a(n) = n^(A001222(n)-1).
EXAMPLE
a(18) = a(2*3*3) = (18/2)*(18/3)*(18/3) = 9*6*6 = 324.
MATHEMATICA
pf[n_]:=Times@@(n/#&/@Flatten[Table[#[[1]], {#[[2]]}]&/@FactorInteger[ n]]); Array[pf, 70] (* Harvey P. Dale, Dec 11 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 02 2002
STATUS
approved