Generating function its properties and related problems