|
|
A215137
|
|
a(n) = 17*n + 1.
|
|
2
|
|
|
1, 18, 35, 52, 69, 86, 103, 120, 137, 154, 171, 188, 205, 222, 239, 256, 273, 290, 307, 324, 341, 358, 375, 392, 409, 426, 443, 460, 477, 494, 511, 528, 545, 562, 579, 596, 613, 630, 647, 664, 681, 698, 715, 732, 749, 766, 783, 800, 817, 834, 851, 868, 885, 902, 919, 936, 953, 970
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 2*a(n-1) - a(n-2).
G.f.: (1+16*x)/(1-x)^2.
E.g.f.: (17*x + 1)*exp(x). (end)
|
|
MATHEMATICA
|
Range[1, 100, 17]
LinearRecurrence[{2, -1}, {1, 18}, 50] (* G. C. Greubel, Apr 19 2018 *)
|
|
PROG
|
(PARI) for(n=0, 50, print1(17*n + 1, ", ")) \\ G. C. Greubel, Apr 19 2018
(Magma) I:=[1, 18]; [n le 2 select I[n] else 2*Self(n-1) - Self(n-2): n in [1..30]]; // G. C. Greubel, Apr 19 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|