OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10080
EXAMPLE
3*6/(6+3) = 2 and 3*6/(6-3) = 9 are both integers. Thus a(3) = 6.
PROG
(PARI) a(n)=for(k=1, n*(n+1), if(k!=n, if((k*n)%(k+n)==0&&(k*n)%(k-n)==0, return(k))))
n=1; while(n<100, print1(a(n), ", "); n+=1)
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Derek Orr, May 29 2014
STATUS
approved