thissum = Sum[2^k n/(n - k) Binomial[n - k, 2 k], {k, 0, n/3}];
Mathematica finds:
HypergeometricPFQ[{1/3 - n/3, 2/3 - n/3, -(n/3)}, {1/2, 1 - n}, 27/2]
In fact the sum has the simple closed form expression: $2^{n-1}+\cos(n \pi/2)$. Try it!
If I use FullSimplify
and specify that n
is a positive integer it returns ComplexInfinity
. How can I get Mathematica to give the simpler answer?