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 A349554 #17 Jan 24 2022 15:58:46 %S A349554 1,19,51,201,723,2709,10161,38459,146297,559135,2145021,8255579, %T A349554 31861021,123256499,477823891,1855782329,7219352971,28125910829, %U A349554 109720617991,428537256449,1675561707271,6557869020329,25689734662771,100720871774981,395197661173123 %N A349554 a(n) = A054108(n) + 4*(-1)^n. %F A349554 a(n) = C(2(n+1),n+1) - a(n-1) with a(1) = 1. - _Chai Wah Wu_, Jan 19 2022 %t A349554 s[0] = 1; s[n_] := Binomial[2 n + 2, n + 1] - s[n - 1]; %t A349554 Table[s[n], {n, 0, 10}]; (* A054108 *) %t A349554 a[n_] := s[n] + 4*(-1)^n; %t A349554 Table[a[n], {n, 1, 30}] (* A349554 *) %o A349554 (Python) %o A349554 from math import comb %o A349554 def A349554(n): return (1 if n % 2 else -1)*(sum((-1 if k % 2 else 1)*comb(2*k,k) for k in range(n+2))-4) # _Chai Wah Wu_, Jan 19 2022 %o A349554 (PARI) a(n) = (-1)^(n+1)*sum(k=0,n+1,(-1)^k*binomial(2*k,k)) + 4*(-1)^n; \\ _Michel Marcus_, Jan 19 2022 %Y A349554 Cf. A000984, A054108. %K A349554 nonn %O A349554 1,2 %A A349554 _Clark Kimberling_, Dec 30 2021