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 A321784 #24 Dec 01 2018 05:01:25 %S A321784 3,5,7,5,7,11,9,13,17,11,11,13,7,9,15,13,21,27,17,19,23,13,19,29,23, %T A321784 31,41,27,25,29,15,17,25,19,23,31,21,17,19,9,11,19,17,29,37,23,27,33, %U A321784 19,31,47,37,49,65,43,39,45,23,29,43,33,41,55,37,31,35,17 %N A321784 Triangle T(n, k) read by rows, n > 0 and 0 < k <= 3^(n-1): T(n, k) = sqrt(A321769(n, k) + A321770(n, k)). %C A321784 This sequence and A321785 are related to a parametrization of the primitive Pythagorean triples in the tree described in A321768. %H A321784 Rémy Sigrist, <a href="/A321784/b321784.txt">Rows n = 1..9, flattened</a> %H A321784 <a href="/index/Ps#PyTrip">Index entries related to Pythagorean Triples</a> %F A321784 Empirically: %F A321784 - T(n, 1) = 2*n + 1, %F A321784 - T(n, (3^(n-1) + 1)/2) = A001333(n+1), %F A321784 - T(n, 3^(n-1)) = 2*n + 1. %e A321784 The first rows are: %e A321784 3 %e A321784 5, 7, 5 %e A321784 7, 11, 9, 13, 17, 11, 11, 13, 7 %o A321784 (PARI) M = [[1, -2, 2; 2, -1, 2; 2, -2, 3], [1, 2, 2; 2, 1, 2; 2, 2, 3], [-1, 2, 2; -2, 1, 2; -2, 2, 3]]; %o A321784 T(n, k) = my (t=[3; 4; 5], d=digits(3^(n-1)+k-1, 3)); for (i=2, #d, t = M[d[i]+1] * t); return (sqrtint(t[2, 1] + t[3, 1])) %Y A321784 Cf. A001333, A321768, A321769, A321770, A321785. %K A321784 nonn,tabf %O A321784 1,1 %A A321784 _Rémy Sigrist_, Nov 22 2018