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 A109975 #24 Sep 08 2022 08:45:19 %S A109975 1,2,4,9,20,44,96,208,448,960,2048,4352,9216,19456,40960,86016,180224, %T A109975 376832,786432,1638400,3407872,7077888,14680064,30408704,62914560, %U A109975 130023424,268435456,553648128,1140850688,2348810240 %N A109975 Second differences of A045623, prefixed by an initial 1. %C A109975 Binomial transform of [1,1,1,2,1,3,1,...]. [From _Paul Barry_, Mar 18 2009] %H A109975 Vincenzo Librandi, <a href="/A109975/b109975.txt">Table of n, a(n) for n = 0..1000</a> %H A109975 <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (4,-4). %F A109975 G.f.: (1-2x+x^3)/(1-2x)^2. [From _Paul Barry_, Mar 18 2009] %F A109975 a(n) = 2^(n-3)*(n+6) with n>1, a(0)=1, a(1)=2 (see the PARI code). - _Bruno Berselli_, Jun 27 2012 %F A109975 G.f.: Q(0)/(1-x), where Q(k)= 1 + (k+1)*x/(1 - x - x*(1-x)/(x + (k+1)*(1-x)/Q(k+1))); (continued fraction). - _Sergei N. Gladkovskii_, Apr 25 2013 %t A109975 CoefficientList[Series[(1-2x+x^3)/(1-2x)^2,{x,0,40}],x] (* _Vincenzo Librandi_, Jun 27 2012 *) %o A109975 (PARI) a(n)=(n+6)<<(n-3)+(n<2) \\ _Charles R Greathouse IV_, Jun 01 2011 %o A109975 (Magma) I:=[1, 2, 4, 9]; [n le 4 select I[n] else 4*Self(n-1)-4*Self(n-2): n in [1..40]]; // _Vincenzo Librandi_, Jun 27 2012 %Y A109975 Essentially a duplicate of A034007. %K A109975 nonn,easy %O A109975 0,2 %A A109975 _Paul Curtz_, Jun 07 2007