This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A055096 Triangle read by rows, sums of 2 distinct nonzero squares: T(n,k) = k^2+n^2, (n>=2, 1 <= k <= n-1) 23
 5, 10, 13, 17, 20, 25, 26, 29, 34, 41, 37, 40, 45, 52, 61, 50, 53, 58, 65, 74, 85, 65, 68, 73, 80, 89, 100, 113, 82, 85, 90, 97, 106, 117, 130, 145, 101, 104, 109, 116, 125, 136, 149, 164, 181, 122, 125, 130, 137, 146, 157, 170, 185, 202, 221, 145, 148, 153, 160 (list; table; graph; refs; listen; history; text; internal format)
 OFFSET 2,1 COMMENTS Discovered by Bernard Frénicle de Bessy (1605?-1675). - Paul Curtz, Aug 18 2008 Terms that are not hypotenuses in primitive Pythagorean triangles, are replaced by 0 in A222946. - Reinhard Zumkeller, Mar 23 2013 This triangle T(n,k) gives the circumdiameters for the Pythagorean triangles with a = (n+1)^2 - k^2, b = 2*(n+1)*k and c = (n+1)^2 + k^2 (see the Floor van Lamoen entries or comments A063929, A063930, A002283, A003991). See also the formula section. Note that not all Pythagorean triangles are covered, e.g., (9,12,15) does not appear. - Wolfdieter Lang, Dec 03 2014 LINKS Reinhard Zumkeller, Rows n = 2..121 of triangle, flattened M. de Frénicle, Méthode pour trouver la solutions des problèmes par les exclusions, in: "Divers ouvrages de mathématiques et de physique, par Messieurs de l'Académie royale des sciences", Paris, 1693, pp 1-44. Eric Weisstein's World of Mathematics, Congruum Problem. FORMULA a(n) = sum2distinct_squares_array(n). T(n,k) = A133819(n,k) + A140978(n,k) = (n+1)^2 + k^2, 1 <= k <= n. - Reinhard Zumkeller, Mar 23 2013 T(n, k) = a*b*c/(2*sqrt(s*(s-1)*(s-b)*(s-c))) with s =(a + b + c)/2 and the substitution a = (n+1)^2 - k^2, b = 2*(n+1)*k and c = (n+1)^2 + k^2 (the circumdiameter for the considered Pythagorean triangles). - Wolfdieter Lang, Dec 03 2014 From Bob Selcoe, Mar 21 2015:  (Start) T(n,k) = 1 + (n-k+1)^2 + sum(4*j + 2*(n-k+3)) {j=0..k-2}. e.g., T(11,5) = 146; 1 + 49 + 18 + 22 + 26 + 30 = 146. T(n,k) = 1 + (n+k-1)^2 - sum(2*(n+k-3) - 4*j) {j=0..k-2}. e.g., T(11,5) = 1 + 225 - 26 - 22 - 18 - 14 = 146. Therefore: 4*(n-k+1) + sum(2*(n-k+3) + 4*j) = 4*n(k-1) - sum(2*(n+k-3) - 4*j) {j=0..k-2}. (End) EXAMPLE The triangle T(n, k) begins: n\k   1   2   3   4   5   6   7   8   9  10  11 ... 2:    5 3:   10  13 4:   17  20  25 5:   26  29  34  41 6:   37  40  45  52  61 7:   50  53  58  65  74  85 8:   65  68  73  80  89 100 113 9:   82  85  90  97 106 117 130 145 10: 101 104 109 116 125 136 149 164 181 11: 122 125 130 137 146 157 170 185 202 221 12: 145 148 153 160 169 180 193 208 225 244 265 ... 13: 170 173 178 185 194 205 218 233 250 269 290 313, 14: 197 200 205 212 221 232 245 260 277 296 317 340 365, 15: 226 229 234 241 250 261 274 289 306 325 346 369 394 421, 16: 257 260 265 272 281 292 305 320 337 356 377 400 425 452 481, ... Formatted and extended by Wolfdieter Lang, Dec 02 2014 (reformatted Jun 11 2015) The successive terms are (1^2+2^2), (1^2+3^2), (2^2+3^2), (1^2+4^2), (2^2+4^2), (3^2+4^2), ... MAPLE sum2distinct_squares_array := (n) -> (((n-((trinv(n-1)*(trinv(n-1)-1))/2))^2)+((trinv(n-1)+1)^2)); MATHEMATICA T[n_, k_] := (n+1)^2 + k^2; Table[T[n, k], {n, 1, 15}, {k, 1, n}] // Flatten (* Jean-François Alcover, Mar 16 2015, after Reinhard Zumkeller *) PROG (Haskell) a055096 n k = a055096_tabl !! (n-1) !! (k-1) a055096_row n = a055096_tabl !! (n-1) a055096_tabl = zipWith (zipWith (+)) a133819_tabl a140978_tabl -- Reinhard Zumkeller, Mar 23 2013 CROSSREFS Sorting gives A024507. Count of divisors: A055097, Möbius: A055132. For trinv, follow A055088. Left edge: A002522. Right edge: A001844. Central column: A033429. Sequence in context: A025302 A268379 A221265 * A313386 A267969 A132777 Adjacent sequences:  A055093 A055094 A055095 * A055097 A055098 A055099 KEYWORD nonn,tabl AUTHOR Antti Karttunen, Apr 04 2000 EXTENSIONS Edited: in T(n, k) formula by Reinhard Zumkeller k < n replaced by k <= n. - Wolfdieter Lang, Dec 02 2014 Made definition more precise, changed offset to 2. - N. J. A. Sloane, Mar 30 2015 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified November 15 04:00 EST 2018. Contains 317225 sequences. (Running on oeis4.)