OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..5000
Tanya Khovanova, Recursive Sequences
Leo Tavares, Illustration: Conjoined Triangular Frames
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = 7*n + 5, n >= 0 (see the name).
a(n) = A125199(n+1,2) for n>0. - Reinhard Zumkeller, Nov 24 2006
G.f.: (5+2*x)/(1-x)^2 = 7*x/(1-x)^2 + 5/(1-x). - Wolfdieter Lang, Apr 10 2015
E.g.f.: exp(x)*(5 + 7*x). - Stefano Spezia, Oct 10 2022
MATHEMATICA
7*Range[0, 50]+5 (* Vladimir Joseph Stephan Orlovsky, Feb 19 2011 *)
LinearRecurrence[{2, -1}, {5, 12}, 70] (* Harvey P. Dale, Feb 08 2020 *)
PROG
(Magma) [7*n+5: n in [0..60]]; // Vincenzo Librandi, Jul 10 2011
(PARI) a(n)=7*n+5 \\ Charles R Greathouse IV, Jul 10 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved