OFFSET
0,1
COMMENTS
Let A be the Hessenberg matrix of order n, defined by: A[1,j]=1, A[i,i]:=-3, A[i,i-1]=-1, and A[i,j]=0 otherwise. Then, for n>=1, a(n-1)=(-1)^n*charpoly(A,-5). - Milan Janjic, Jan 27 2010
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..3319
Gennady Eremin, Partitioning the set of natural numbers into Mersenne trees and into arithmetic progressions; Natural Matrix and Linnik's constant, arXiv:2405.16143 [math.CO], 2024. See pp. 3-5, 14.
Index entries for linear recurrences with constant coefficients, signature (3,-2).
FORMULA
a(n+1) = 2*a(n) + 1.
G.f.: (6-5*x)/((1-x)*(1-2*x)) - Jaume Oliver Lafont, Sep 14 2009
a(n-1)^2 + a(n) = (7*2^(n-1))^2. - Vincenzo Librandi, Aug 08 2010
MATHEMATICA
7*2^Range[0, 30]-1 (* Harvey P. Dale, May 09 2018 *)
PROG
(PARI) a(n)=7<<n-1 \\ Charles R Greathouse IV, Sep 24 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Marco Matosic, Jul 27 2003
EXTENSIONS
More terms from David Wasserman, Feb 22 2005
STATUS
approved