1
vote
3answers
109 views

Generating function with quadratic coefficients.

$h_k=2k^2+2k+1$. I need the generating function $$G(x)=h_0+h_1x+\dots+h_kx^k+\dots$$ I do not have to simplify this, yet I'd really like to know how Wolfram computed this sum as ...
10
votes
1answer
627 views

How would you input xkcd.com/287 into WolframAlpha?

In this XKCD comic, a stick figure asks an NP-complete problem to order exactly 15.05 worth of appetizers out of a menu that includes the following list of prices: ...