This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A060829 #9 Jan 02 2023 00:05:45 %S A060829 5,17,13,37,65,29,101,25,145,53,197,257,85,325,41,401,125,485,73,577, %T A060829 173,677,65,785,61,109,229,901,1025,293,1157,97,1297,365,1445,89,1601, %U A060829 85,205,445,1765,137,1937,533,2117,265,2305,629,2501,185,2705,733,2917 %N A060829 For each y >= 1 there are only finitely many values of x >= 1 such that x-y and x+y are both squares; list all such pairs (x,y) with gcd(x,y) = 1 ordered by values of y; sequence gives x values. %D A060829 Donald D. Spencer, Computers in Number Theory, Computer Science Press, Rockville MD, 1982, pp. 130-131. %F A060829 The solutions are given by x = r^2+2*r*k+2*k^2, y = 2*k*(k+r) with r >= 1, k >= 1, r odd, gcd(r, k) = 1. %e A060829 Pairs are [5, 4], [17, 8], [13, 12], [37, 12], [65, 16], [29, 20], [101, 20], ... E.g., 5-4=1^2, 5+4=3^2. %e A060829 a(41) = 1765 because A120427(41) = 84 and we have gcd(1765,84)=1 and 1765-84 = 41^2 and 1765+84 = 43^2. - _Sean A. Irvine_, Jan 01 2023 %Y A060829 Cf. A060830, A061408, A061409, A120427. %K A060829 nonn %O A060829 0,1 %A A060829 _N. J. A. Sloane_, May 02 2001 %E A060829 a(41) onward corrected by _Sean A. Irvine_, Jan 01 2023