OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
PROG
(PARI)
A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); }; \\ This function from Charles R Greathouse IV, Aug 17 2011
A071364(n) = { my(f = factor(n)); for (i=1, #f~, f[i, 1] = prime(i)); factorback(f); }; \\ This function from Michel Marcus, Jun 13 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, May 09 2003
STATUS
approved