A076294 Consider all Pythagorean triples (X,X+7,Z); sequence gives Z values.
5, 7, 13, 17, 35, 73, 97, 203, 425, 565, 1183, 2477, 3293, 6895, 14437, 19193, 40187, 84145, 111865, 234227, 490433, 651997, 1365175, 2858453, 3800117, 7956823, 16660285, 22148705, 46375763, 97103257, 129092113, 270297755, 565959257, 752403973, 1575410767
Offset: 0
Examples
17 is in the sequence as the hypotenuse of the (8,15,17) triangle.
Links
- Colin Barker, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (0,0,6,0,0,-1).
Programs
-
Mathematica
LinearRecurrence[{0,0,6,0,0,-1},{5,7,13,17,35,73},40] (* Harvey P. Dale, Mar 19 2019 *)
-
PARI
Vec((1 - x)*(5 + 12*x + 25*x^2 + 12*x^3 + 5*x^4) / (1 - 6*x^3 + x^6) + O(x^50)) \\ Colin Barker, Apr 25 2017
Formula
a(3n+1) = 7*A001653(n).
G.f.: (1 - x)*(5 + 12*x + 25*x^2 + 12*x^3 + 5*x^4) / (1 - 6*x^3 + x^6). - Colin Barker, Apr 25 2017
Comments