OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
PROG
(PARI) a(n) = n^(numdiv(n)/2); {usigma(n, s=1, fac, i) = fac=factor(n); for(i=1, matsize(fac)[1], s=s*(1+fac[i, 1]^fac[i, 2]) ); return(s); } for(n=1, 3000, if(issquare(a(n)) && issquare(usigma(n)), print1(n, ", ")))
(PARI) pd(n)= { d=numdiv(n); if (d%2, round(sqrt(n))^d, n^(d/2)) } usigma(n)= { local(f, s=1); f=factor(n); for(i=1, matsize(f)[1], s*=1 + f[i, 1]^f[i, 2]); return(s) } { n=0; for (m=1, 10^9, if (issquare(pd(m)) && issquare(usigma(m)), write("b064193.txt", n++, " ", m); if (n==1000, break)) ) } \\ Harry J. Smith, Sep 23 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Oct 14 2001
EXTENSIONS
Erroneous PARI program of Sep 09 2009 deleted by Harry J. Smith, Sep 23 2009
STATUS
approved