A112414 a(n) = 3*n + 7.
7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 49, 52, 55, 58, 61, 64, 67, 70, 73, 76, 79, 82, 85, 88, 91, 94, 97, 100, 103, 106, 109, 112, 115, 118, 121, 124, 127, 130, 133, 136, 139, 142, 145, 148, 151, 154, 157, 160, 163, 166, 169, 172, 175, 178, 181, 184
Offset: 0
Links
- Tanya Khovanova, Recursive Sequences.
- Index entries for linear recurrences with constant coefficients, signature (2,-1).
Programs
-
Mathematica
3Range[0,70]+7 (* or *) LinearRecurrence[{2,-1},{7,10},70] (* Harvey P. Dale, May 12 2019 *)
-
PARI
a(n)=3*n+7 \\ Charles R Greathouse IV, Jul 10 2016
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.
Extensions
Better definition from T. D. Noe, Nov 30 2006
Comments