login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n) = 6^n + 3^n - 1.
11

%I #25 Aug 21 2024 12:26:29

%S 1,8,44,242,1376,8018,47384,282122,1686176,10097378,60525224,

%T 362974202,2177313776,13062288338,78368947064,470199333482,

%U 2821152954176,16926788584898,101560344088904,609360902271962,3656161926847376

%N a(n) = 6^n + 3^n - 1.

%H Paolo Xausa, <a href="/A155604/b155604.txt">Table of n, a(n) for n = 0..1000</a>

%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (10,-27,18).

%F G.f.: 1/(1-6*x)+1/(1-3*x)-1/(1-x).

%F E.g.f.: exp(6*x)+exp(3*x)-exp(x).

%F a(n) = 9*a(n-1)-18*a(n-2)-10 with a(0) = 1, a(1) = 8. - _Vincenzo Librandi_, Jul 21 2010

%t Table[6^n + 3^n - 1, {n, 0, 25}] (* _Paolo Xausa_, Aug 21 2024 *)

%o (PARI) a(n)=6^n+3^n-1 \\ _Charles R Greathouse IV_, Jun 11 2015

%Y Cf. A074501, A020515, A155588, A155590, A155592, A155593, A155594, A155596, A155597, A155598, A155599, A155600, A155601, A155602, A155603.

%K nonn,easy

%O 0,2

%A _Mohammad K. Azarian_, Jan 25 2009