OFFSET
0,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (5,-4).
FORMULA
a(n) mod 9 = A070403(n+2).
a(n+1) = 10*A083420(n) + 9.
a(n) = 5*A000302(n) - 1.
a(n) = 4*a(n-1) + 3, a(0)=4.
From R. J. Mathar, Feb 23 2009: (Start)
a(n) = A003947(n+1) - 1.
a(n) = 5*a(n-1) - 4*a(n-2).
G.f.: (4-x)/((1-x)*(1-4*x)). (End)
a(n) = A198693(n) + 2^(2*n+1). - Bob Selcoe, Apr 20 2015
From Elmo R. Oliveira, Nov 16 2025: (Start)
E.g.f.: (5*exp(3*x) - 1)*exp(x).
a(n) = A199115(n) - 2. (End)
EXAMPLE
Binary.......................................Decimal
100................................................4
10011.............................................19
1001111...........................................79
100111111........................................319
10011111111.....................................1279
1001111111111...................................5119
100111111111111................................20479
10011111111111111..............................81919
1001111111111111111...........................327679
100111111111111111111........................1310719
10011111111111111111111......................5242879
1001111111111111111111111...................20971519
100111111111111111111111111.................83886079
10011111111111111111111111111..............335544319
1001111111111111111111111111111...........1342177279
... - Philippe Deléham, Feb 23 2014
MATHEMATICA
Table[5*4^n - 1, {n, 0, 18}] (* Michael De Vlieger, Apr 20 2015 *)
PROG
(Magma) [5*4^n-1: n in [0..30]]; // Vincenzo Librandi, Jul 02 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Feb 15 2009
EXTENSIONS
Edited and extended by R. J. Mathar, Feb 23 2009
STATUS
approved
