A017005 a(n) = 7n + 2.
2, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93, 100, 107, 114, 121, 128, 135, 142, 149, 156, 163, 170, 177, 184, 191, 198, 205, 212, 219, 226, 233, 240, 247, 254, 261, 268, 275, 282, 289, 296, 303, 310, 317, 324, 331, 338, 345, 352, 359, 366, 373, 380
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1120
- Tanya Khovanova, Recursive Sequences
- Index entries for linear recurrences with constant coefficients, signature (2,-1).
Programs
-
Magma
[ 7*n+2: n in [0..60] ];
-
Mathematica
Range[2, 1000, 7] (* Vladimir Joseph Stephan Orlovsky, May 27 2011 *) LinearRecurrence[{2,-1},{2,9},60] (* Harvey P. Dale, Sep 07 2015 *)
Formula
G.f.: (2+5*x)/(1-x)^2.
E.g.f.: exp(x)*(2 + 7*x). - Stefano Spezia, Mar 21 2021
a(n) = 2*a(n-1) - a(n-2). - Wesley Ivan Hurt, Mar 22 2021
Comments