A164093 a(n) = 9*4^n + 2.
38, 146, 578, 2306, 9218, 36866, 147458, 589826, 2359298, 9437186, 37748738, 150994946, 603979778, 2415919106, 9663676418, 38654705666, 154618822658, 618475290626, 2473901162498, 9895604649986, 39582418599938, 158329674399746, 633318697598978, 2533274790395906
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (5,-4).
Programs
-
Mathematica
LinearRecurrence[{5,-4},{38,146},50] (* Vincenzo Librandi, Mar 06 2012 *)
Formula
a(n) = A002063(n) + 2.
a(n) = 5*a(n-1) - 4*a(n-2).
G.f.: 2*x*(19-22*x)/((4*x-1)*(x-1)).
E.g.f.: exp(x)*(9*exp(3*x) + 2) - 11. - Elmo R. Oliveira, Mar 08 2025
Extensions
Edited by R. J. Mathar, Aug 21 2009