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 A165405 #11 May 24 2024 18:48:16 %S A165405 1,3,3,15,3,87,-69,591,-1005,4551,-10581,37887,-101373,328695,-936933, %T A165405 2909103,-8530701,25985319,-77169525,233081439,-696098589,2094587223, %U A165405 -6271178757,18838702095,-56465774637,169497987207,-508292635029 %N A165405 a(0)=1, a(1)=3,a(n)=6*a(n-2)-a(n-1). %C A165405 a(n)/a(n-1) tends to -3. %H A165405 Harvey P. Dale, <a href="/A165405/b165405.txt">Table of n, a(n) for n = 0..1000</a> %H A165405 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (-1,6). %F A165405 G.f.: (1+4x)/(1+x-6x^2). a(n)= Sum_{k, 0<=k<=n}A112555(n,k)*2^k. %F A165405 a(n) = (6*2^n-(-3)^n)/5. [From _Klaus Brockhaus_, Sep 26 2009] %t A165405 nxt[{a_,b_}]:={b,6a-b}; NestList[nxt,{1,3},30][[;;,1]] (* or *) LinearRecurrence[{-1,6},{1,3},30] (* _Harvey P. Dale_, May 24 2024 *) %K A165405 sign %O A165405 0,2 %A A165405 _Philippe Deléham_, Sep 17 2009