|
|
A215148
|
|
a(n) = 23*n + 1.
|
|
2
|
|
|
1, 24, 47, 70, 93, 116, 139, 162, 185, 208, 231, 254, 277, 300, 323, 346, 369, 392, 415, 438, 461, 484, 507, 530, 553, 576, 599, 622, 645, 668, 691, 714, 737, 760, 783, 806, 829, 852, 875, 898, 921, 944, 967, 990
(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+22*x)/(1-x)^2.
E.g.f.: (23*x + 1)*exp(x). (end)
|
|
MATHEMATICA
|
Range[1, 1000, 23]
LinearRecurrence[{2, -1}, {1, 24}, 50] (* G. C. Greubel, Apr 19 2018 *)
|
|
PROG
|
(PARI) for(n=0, 50, print1(23*n + 1, ", ")) \\ G. C. Greubel, Apr 19 2018
(Magma) I:=[1, 24]; [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
|
|
|
|