[go: up one dir, main page]

login
A017005
a(n) = 7n + 2.
21
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,1
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
MATHEMATICA
Range[2, 1000, 7] (* Vladimir Joseph Stephan Orlovsky, May 27 2011 *)
LinearRecurrence[{2, -1}, {2, 9}, 60] (* Harvey P. Dale, Sep 07 2015 *)
PROG
(Magma) [ 7*n+2: n in [0..60] ];
CROSSREFS
KEYWORD
nonn,easy
STATUS
approved