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 A375336 #12 Sep 03 2024 01:38:31 %S A375336 5,7,7,8,9,13,17,27,8,10,11,13,16,19,10,11,13,14,19,21,25,31,59,61,12, %T A375336 15,22,23,29,34,39,42,11,13,14,16,17,19,25,33,37,41,49,103,107,125,13, %U A375336 14,16,17,19,20,23,27,28,32,37,40,46,53,82,83,15,18,21,26 %N A375336 For n>=4, irregular triangular array of successive integer solutions to sqrt((d-c)*b^2 + c*(b+1)^2) for square integers d = n^2, where b and c are positive integers and c < d, read by rows. %C A375336 Provable that every row n has a finite number of terms, with n < 4 producing no solutions, and T(n, k) never exceeding (n/2)^3. %C A375336 This sequence excludes cases where c == 0, where all b produce integer solutions d*b. %C A375336 Nonsquare d produce solutions following a different pattern, shown as A374602. %F A375336 T(n, 1) = A080782(n+2). %e A375336 4: {5, 7} %e A375336 5: {7, 8} %e A375336 6: {9, 13, 17, 27} %e A375336 7: {8, 10, 11, 13, 16, 19} %e A375336 8: {10, 11, 13, 14, 19, 21, 25, 31, 59, 61} %e A375336 9: {12, 15, 22, 23, 29, 34, 39, 42} %e A375336 10: {11, 13, 14, 16, 17, 19, 25, 33, 37, 41, 49, 103, 107, 125} %e A375336 11: {13, 14, 16, 17, 19, 20, 23, 27, 28, 32, 37, 40, 46, 53, 82, 83} %e A375336 12: {15, 18, 21, 26, 29, 31, 34, 41, 43, 51, 54, 57, 61, 71, 159, 165, 209, 211} %e A375336 ... %e A375336 sqrt((2^2-1)*1^2 + 1*(1+1)^2) = sqrt(7) -> not an integer so not included. %e A375336 sqrt((4^2-1)*1^2 + 1*(1+1)^2) = sqrt(19) -> not an integer so not included. %e A375336 sqrt((4^2-3)*1^2 + 3*(1+1)^2) = 5 -> T(4,1). %e A375336 sqrt((4^2-11)*1^2 + 11*(1+1)^2) = 7 -> T(4,2). %e A375336 sqrt((5^2-8)*1^2 + 8*(1+1)^2) = 7 -> T(5,1). %e A375336 sqrt((6^2-5)*2^2 + 5*(2+1)^2) = 13 -> T(6,2). %o A375336 (PARI) row(n)=my(d=n^2, t=n, v=List()); while(t<n^3, my(b=floor(sqrt(t^2/d)), r=t^2-d*b^2); if (r && r%(b*2+1)==0, listput(v, t)); t++); concat(v) %o A375336 for(n=4, 12, print(n, " ", row(n))) %Y A375336 Cf. A080782, A374602. %K A375336 nonn,tabf,easy %O A375336 4,1 %A A375336 _Charles L. Hohn_, Aug 12 2024