|
|
A158495
|
|
Expansion of ((1-4*x) + sqrt(1-4*x))/(2*(1-2*x)).
|
|
3
|
|
|
1, -1, -3, -8, -21, -56, -154, -440, -1309, -4048, -12958, -42712, -144210, -496432, -1735764, -6145968, -21986781, -79331232, -288307254, -1054253208, -3875769606, -14315659632, -53097586284, -197677736208, -738415086066
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (2*0^n - 2^n + A126966(n))/2.
Conjecture: n*a(n) +6*(-n+1)*a(n-1) +4*(2*n-3)*a(n-2)=0. - R. J. Mathar, Dec 03 2014
a(n) = [n=0] - Sum_{k=1..n} 2^(n-k)*A000108(k-1).
a(n) = Sum_{j=0..n} 2^(n-j)*A246432(j). (End)
|
|
MATHEMATICA
|
CoefficientList[Series[((1-4x)+Sqrt[1-4x])/(2(1-2x)), {x, 0, 30}], x] (* Harvey P. Dale, Dec 15 2011 *)
|
|
PROG
|
(Magma)
A158495:= func< n | n eq 0 select 1 else - (&+[2^(n-j)*Catalan(j-1): j in [1..n]]) >;
(SageMath)
def A158495(n): return int(n==0) - sum(2^(n-k)*catalan_number(k-1) for k in range(1, n+1))
|
|
CROSSREFS
|
Essentially the same as A014318, up to sign and offset.
|
|
KEYWORD
|
easy,sign
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|