結果 : closed form of generating function