A140529 a(n) = 6*4^n - 1.
5, 23, 95, 383, 1535, 6143, 24575, 98303, 393215, 1572863, 6291455, 25165823, 100663295, 402653183, 1610612735, 6442450943, 25769803775, 103079215103, 412316860415, 1649267441663, 6597069766655, 26388279066623, 105553116266495
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (5,-4).
Crossrefs
Cf. A028894.
Programs
-
Magma
[6*4^n-1: n in [0..30]]; // Vincenzo Librandi, Aug 08 2011
-
Mathematica
NestList[4#+3&,5,30] (* Harvey P. Dale, Jan 14 2022 *)
Formula
a(n) = 4*a(n-1) + 3, a(0)=5.
G.f.: ( 5-2*x ) / ( (4*x-1)*(x-1) ). - R. J. Mathar, Jul 08 2022
Comments