|
|
A271114
|
|
Expansion of (1+x)*(2+x)/(1-x)^2.
|
|
2
|
|
|
2, 7, 13, 19, 25, 31, 37, 43, 49, 55, 61, 67, 73, 79, 85, 91, 97, 103, 109, 115, 121, 127, 133, 139, 145, 151, 157, 163, 169, 175, 181, 187, 193, 199, 205, 211, 217, 223, 229, 235, 241, 247, 253, 259, 265, 271, 277, 283, 289, 295, 301, 307, 313, 319, 325
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1+x)*(2+x)/(1-x)^2.
a(n) = 2*a(n-1)-a(n-2) for n>2.
a(5*m+1) = 30*m + 7 = A132231(m+1).
a(5*m+2) = 30*m + 13 = A082369(m+1).
a(5*m+4) = 30*m + 25 = 5*A016969(m).
a(5*m+5) = 30*m + 31 = A128470(m+1). (End)
|
|
MATHEMATICA
|
Join[{2}, LinearRecurrence[{2, -1}, {7, 13}, 100]] (* G. C. Greubel, Mar 31 2016 *)
|
|
PROG
|
(PARI) Vec((1+x)*(2+x)/(1-x)^2 + O(x^70))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|