|
|
A188653
|
|
Second differences of A000463; first differences of A188652.
|
|
6
|
|
|
1, 1, -3, 7, -11, 17, -23, 31, -39, 49, -59, 71, -83, 97, -111, 127, -143, 161, -179, 199, -219, 241, -263, 287, -311, 337, -363, 391, -419, 449, -479, 511, -543, 577, -611, 647, -683, 721, -759, 799, -839, 881, -923, 967, -1011, 1057, -1103, 1151, -1199, 1249, -1299, 1351, -1403, 1457, -1511, 1567, -1623, 1681, -1739, 1799, -1859, 1921, -1983, 2047, -2111, 2177, -2243, 2311, -2379, 2449, -2519, 2591, -2663, 2737, -2811
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
FORMULA
|
a(2*n) = a(2*n-1)+4*n^2-2*n-2, a(2*n+1) = -a(2*n)-2*n.
G.f.: x*(-1-3*x+x^2+x^3) / ((x-1)*(1+x)^3). - R. J. Mathar, Apr 14 2011
E.g.f.: 1 + ((x^2 - x - 2)*cosh(x) - (x^2 - x - 3)*sinh(x))/2. - Stefano Spezia, Jul 08 2023
|
|
MATHEMATICA
|
|
|
PROG
|
(Haskell)
a188653 n = a188653_list !! (n-1)
a188653_list = zipWith (-) (tail a188652_list) a188652_list
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|