|
|
A036410
|
|
G.f.: (1+x^6)/((1-x)*(1-x^3)*(1-x^4)).
|
|
2
|
|
|
1, 1, 1, 2, 3, 3, 5, 6, 7, 9, 11, 12, 15, 17, 19, 22, 25, 27, 31, 34, 37, 41, 45, 48, 53, 57, 61, 66, 71, 75, 81, 86, 91, 97, 103, 108, 115, 121, 127, 134, 141, 147, 155, 162, 169, 177, 185, 192, 201, 209, 217, 226, 235, 243, 253, 262, 271, 281
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
LINKS
|
|
|
FORMULA
|
a(n) = ceiling((n+1)^2/12).
a(n) = a(n-1) + a(n-2) - a(n-4) - a(n-5) + a(n-6).
G.f.: ( -1-x^4+x^2 ) / ( (1+x)*(1+x+x^2)*(x-1)^3 ). (End)
Empirical: a(n) + a(n+1) = A266542(n).
72*a(n) = 6*n^2 + 12*n + 47 + 9*(-1)^n + 16*A061347(n+1). (End)
|
|
EXAMPLE
|
G.f. = 1 + x + x^2 + 2*x^3 + 3*x^4 + 3*x^5 + 5*x^6 + 6*x^7 + ... - Michael Somos, Dec 16 2021
|
|
MATHEMATICA
|
a[ n_] := Ceiling[(n + 1)^2/12]; (* Michael Somos, Dec 16 2021 *)
|
|
PROG
|
(Maxima) makelist(coeff(taylor((1+x^6)/((1-x)*(1-x^3)*(1-x^4)), x, 0, n), x, n), n, 0, 57); /* Bruno Berselli, May 30 2011 */
(PARI) {a(n) = (n^2 + 2*n)\12 + 1}; /* Michael Somos, Dec 16 2021 */
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|