login
A383039
Sum of the legs of the unique primitive Pythagorean triple (a,b,c) such that (a-b+c)/2 = A000032(n) and its long leg and hypotenuse are consecutive natural numbers.
1
7, 1, 17, 31, 97, 241, 647, 1681, 4417, 11551, 30257, 79201, 207367, 542881, 1421297, 3720991, 9741697, 25504081, 66770567, 174807601, 457652257, 1198149151, 3136795217, 8212236481, 21499914247, 56287506241, 147362604497, 385800307231, 1010038317217, 2644314644401, 6922905616007
OFFSET
0,1
REFERENCES
Miguel Ángel Pérez García-Ortega, José Manuel Sánchez Muñoz and José Miguel Blanco Casado, El Libro de las Ternas Pitagóricas, Preprint 2025.
LINKS
FORMULA
a(n) = A382379(n,1) + A382379(n,2).
a(n) = 2*Lucas(n)^2 - 1.
a(n) = 2*A001254(n) - 1.
G.f.: (7 - 20*x + 14*x^2 + x^3)/((1 - x)*(1 + x)*(1 - 3*x + x^2)). - Andrew Howroyd, Nov 12 2025
EXAMPLE
For n=3, the short leg is A382379(3,1) = 5 and the long leg is A382379(3,2) = 12 so the sum of the legs is then a(2) = 5 + 12 = 17.
MATHEMATICA
a=Table[LucasL[n], {n, 0, 30}]; Apply[Join, Map[{2#^2-1}&, a]]
PROG
(PARI) a(n) = 2*(fibonacci(n+1)+fibonacci(n-1))^2 - 1 \\ Andrew Howroyd, Nov 12 2025
CROSSREFS
KEYWORD
nonn,easy
STATUS
approved