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 A382308 #34 Apr 19 2025 16:56:58 %S A382308 1,7,7,17,31,71,161,391,967,2449,6271,16199,42049,109511,285767, %T A382308 746641,1952287,5107207,13364449,34978247,91557511,239673617, %U A382308 627429887,1642561927,4300168321,11257801351,29473006471,77160847121,202008934687,528864985799,1384584451361 %N A382308 Sum of the legs of the unique primitive Pythagorean triple whose inradius is A000045(n) and such that its long leg and its hypotenuse are consecutive natural numbers. %D A382308 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. %H A382308 Miguel-Ángel Pérez García-Ortega, <a href="/A382308/a382308.pdf">El Libro de las Ternas Pitagóricas</a> %F A382308 a(n) = A382608(n,1) + A382608(n,2). %F A382308 a(n) = 2*(Fibonacci(n))^2+4*Fibonacci(n) + 1. %e A382308 For n=2, the short leg is A382608(2,1) = 3 and the long leg is A382608(2,2) = 4 so the sum of the legs is then a(2) = 3 + 4 = 7. %t A382308 a=Table[Fibonacci[n],{n,0,30}];Apply[Join,Map[{2#^2+4#+1}&,a]] %Y A382308 Cf. A000045, A382608, A382609, A382610. %K A382308 nonn,easy %O A382308 0,2 %A A382308 _Miguel-Ángel Pérez García-Ortega_, Apr 13 2025