OFFSET
1,2
EXAMPLE
The positive divisors of 12 are 1,2,3,4,6,12. Checking the partial products: 1=1, 1*2=2, 1*2*3=6, 1*2*3*4=24, 1*2*3*4*6 = 144, 1*2*3*4*6*12 = 1728. 6 is the largest such product that is <= 12. So a(12) = 6.
PROG
(PARI) for(n=1, 80, d=divisors(n); L=numdiv(n); T=1; i=1; while(i<=L&&T*d[i]<=n, T*=d[i]; i++); print1(T", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 03 2007
EXTENSIONS
More terms from Robert Gerbicz, Nov 26 2010
STATUS
approved
