OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..5000
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From Vincenzo Librandi, May 28 2011: (Start)
a(n) = 10*n + 7.
a(n) = 2*a(n-1) - a(n-2). (End)
G.f.: (7+3*x)/(x-1)^2. - Wesley Ivan Hurt, Mar 26 2015
MAPLE
MATHEMATICA
Range[7, 497, 10] (* Vladimir Joseph Stephan Orlovsky, May 28 2011 *)
PROG
(Magma) [10*n+7: n in [0..60]]; // Vincenzo Librandi, May 28 2011
(PARI) vector(100, n, 10*n-3) \\ Derek Orr, Mar 29 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved