OFFSET
1,2
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..18
Sean A. Irvine, Java program (github)
PROG
(PARI) a=-1; for(n=1, 10^7, x=numdiv(n)-1; if(issquare(x), b=x; if(b>a, a=b; print(n))))
(PARI) {a063721(m)=local(r, n, x); r=-1; for(n=1, m, x=numdiv(n)-1; if(issquare(x) && x>r, r=x; print1(n, ", "))) }
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Aug 22 2001
EXTENSIONS
More terms from Don Reble, May 12 2002
Missing a(12) inserted and a(16) from Sean A. Irvine, May 09 2023
STATUS
approved