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 A304207 #22 May 29 2024 12:16:25 %S A304207 17,144,145,10512,10513,55261584,55261585,1526921388356112, %T A304207 1526921388356113,1165744463109679828308252234384, %U A304207 1165744463109679828308252234385,679480076635437837059150531810555804350472205781672488164112,679480076635437837059150531810555804350472205781672488164113 %N A304207 a(1)=17; for n>1, a(n) = (a(n-1)^2 - 1)/2 if n is even, a(n-1) + 1 if n is odd. %C A304207 {17, 144, 145}, {145, 10512, 10513}, {10513, 55261584, 55261585}, ... are sides {a < b < c} of the right triangles, with hypotenuse c = b + 1. %H A304207 Eric Chen, <a href="/A304207/b304207.txt">Table of n, a(n) for n = 1..21</a> %t A304207 nxt[{n_,a_}]:={n+1,If[OddQ[n],(a^2-1)/2,a+1]}; NestList[nxt,{1,17},20][[All,2]] (* _Harvey P. Dale_, Mar 27 2021 *) %o A304207 (PARI) a(n) = if(n==1,17,if(n%2,a(n-1)+1,(a(n-1)^2 - 1)/2)) \\ _Eric Chen_, Jun 09 2018 %Y A304207 Same basic form as A076601, A076602, A076603, and A076604. %K A304207 nonn %O A304207 1,1 %A A304207 _Benjamin Knight_, May 08 2018