OFFSET
1,2
COMMENTS
a(18) = 1978, a(20) = 4596, a(21) = 304153, a(22) = 137903, a(24) = 2628. - Chai Wah Wu, Feb 13 2018
EXAMPLE
a(2) = 6 from 6^2 + 7^2 = 2^2 + 9^2.
a(3) = 21 from 21^2 + 22^2 = 5^2 + 30^2 = 14^2 + 27^2.
a(4) = 23 form 23^2 + 24^2 = 4^2 + 33^2 = 9^2 + 32^2 = 12^2 + 31^2.
PROG
(PARI) A025426(n)=my(v=valuation(n, 2), f=factor(n>>v), t=1); for(i=1, #f~, if(f[i, 1]%4>1, if(f[i, 2]%2, return(0)), t*=f[i, 2]+1)); if(t%2, t-(-1)^v, t)/2
a(n)=my(k=1); while(A025426(2*k*(k+1)+1)!=n, k++); k \\ Charles R Greathouse IV, Jun 03 2016
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Altug Alkan, May 30 2016
EXTENSIONS
a(10)-a(14) from Giovanni Resta, Jun 03 2016
a(15)-a(16) from Chai Wah Wu, Feb 13 2018
STATUS
approved