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 A167375 #33 Sep 08 2022 08:45:48 %S A167375 1,3,11,30,79,207,542,1419,3715,9726,25463,66663,174526,456915, %T A167375 1196219,3131742,8199007,21465279,56196830,147125211,385178803, %U A167375 1008411198,2640054791,6911753175,18095204734,47373861027,124026378347,324705274014,850089443695 %N A167375 a(n)=3*a(n-1)-a(n-2) with a(0)=1, a(1)=3, a(2)=11. %H A167375 Harvey P. Dale, <a href="/A167375/b167375.txt">Table of n, a(n) for n = 0..1000</a> %H A167375 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (3, -1). %F A167375 a(n) = (-1)^n*A098150(n-1), n>0. %F A167375 G.f.: (3*x^2+1)/(1-3*x+x^2). %F A167375 a(n) = 3*L(2n+1)-F(2n), where F(n) is the n-th Fibonacci number and L(n) is the n-th Lucas number. - _Rigoberto Florez_, Dec 24 2018 %t A167375 Join[{1},LinearRecurrence[{3,-1},{3,11},30]] (* _Harvey P. Dale_, Jun 25 2014 *) %t A167375 CoefficientList[Series[(3 x^2 + 1)/(1 - 3 x + x^2), {x, 0, 40}], x] (* _Vincenzo Librandi_, Jun 26 2014 *) %t A167375 Table[3LucasL[2n+1]-Fibonacci[2n], {n,0,20}] (* _Rigoberto Florez_, Dec 24 2018 *) %o A167375 (Magma) I:=[1,3,11]; [n le 3 select I[n] else 3*Self(n-1)-Self(n-2): n in [1..50]]; // _Vincenzo Librandi_, Jun 26 2014 %Y A167375 Cf. A135929, A138034. %K A167375 nonn,easy %O A167375 0,2 %A A167375 _Jamel Ghanouchi_, Nov 02 2009 %E A167375 Edited by _R. J. Mathar_, Nov 03 2009