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 A141041 #38 Oct 10 2022 04:32:58 %S A141041 1,3,21,135,873,5643,36477,235791,1524177,9852435,63687141,411680151, %T A141041 2661142329,17201894427,111194793549,718774444575,4646231048097, %U A141041 30033709622307,194140950878133,1254946834135719,8112103857448713 %N A141041 a(n) = ((3 + 2*sqrt(3))^n + (3 - 2*sqrt(3))^n)/2. %H A141041 Harvey P. Dale, <a href="/A141041/b141041.txt">Table of n, a(n) for n = 0..1000</a> %H A141041 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (6,3). %F A141041 a(n) = 3*abs(A099842(n-1)), for n > 0. %F A141041 G.f.: (1-3*x)/(1-6*x-3*x^2). - _Philippe Deléham_, Mar 03 2012 %F A141041 a(n) = 6*a(n-1) + 3*a(n-2), a(0) = 1, a(1) = 3. - _Philippe Deléham_, Mar 03 2012 %F A141041 a(n) = Sum_{k=0..n} A201701(n,k)*3^(n-k). - _Philippe Deléham_, Mar 03 2012 %F A141041 G.f.: G(0)/2, where G(k) = 1 + 1/(1 - x*(4*k-3)/(x*(4*k+1) - 1/G(k+1))); (continued fraction). - _Sergei N. Gladkovskii_, May 27 2013 %F A141041 a(n) = (-i*sqrt(3))^n * ChebyshevT(n, i*sqrt(3)). - _G. C. Greubel_, Oct 10 2022 %t A141041 a[n_]= ((3+2*Sqrt[3])^n + (3-2*Sqrt[3])^n)/2; Table[FullSimplify[a[n]], {n,0,30}] %t A141041 LinearRecurrence[{6,3},{1,3},30] (* _Harvey P. Dale_, Aug 25 2014 *) %o A141041 (Magma) [n le 2 select 3^(n-1) else 6*Self(n-1) +3*Self(n-2): n in [1..31]]; // _G. C. Greubel_, Oct 10 2022 %o A141041 (SageMath) %o A141041 A141041 = BinaryRecurrenceSequence(6,3,1,3) %o A141041 [A141041(n) for n in range(31)] # _G. C. Greubel_, Oct 10 2022 %Y A141041 Cf. A011943, A034478, A081336, A099842, A201701. %K A141041 nonn %O A141041 0,2 %A A141041 _Roger L. Bagula_, Aug 18 2008 %E A141041 Edited by _N. J. A. Sloane_, Aug 24 2008