All entire solutions to the functional equation h(x + y)k(x - y) = A(x)B(y) + C(x)D(y) are found. The solutions involve (possibly degenerate) Weierstrass sigma functions, or, equivalently, theta functions. The first proof is computational and the second proof is geometrical. Possible extensions with more terms on the right-hand side are briefly discussed. The equation arises in quantum theory, and says that a certain generalized Hankel operator on Fock space has rank not exceeding two.