OFFSET
0,1
COMMENTS
At least the first 2 million terms from a(1) on coincide with the corresponding terms of A086822(n+2). - R. J. Mathar, Aug 15 2008
LINKS
Tanya Khovanova, Recursive Sequences.
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From Elmo R. Oliveira, Oct 30 2024: (Start)
G.f.: (7 - 4*x)/(1 - x)^2.
E.g.f.: (7 + 3*x)*exp(x).
a(n) = 2*a(n-1) - a(n-2) for n >= 2.
MATHEMATICA
3Range[0, 70]+7 (* or *) LinearRecurrence[{2, -1}, {7, 10}, 70] (* Harvey P. Dale, May 12 2019 *)
PROG
(PARI) a(n)=3*n+7 \\ Charles R Greathouse IV, Jul 10 2016
CROSSREFS
KEYWORD
easy,nonn,changed
AUTHOR
Zerinvary Lajos, Dec 09 2005
EXTENSIONS
Better definition from T. D. Noe, Nov 30 2006
STATUS
approved