#NEWLINE# def _eval_rewrite_as_Product( self , n ) : #NEWLINE# #INDENT# from sympy import Product #NEWLINE# if ( not ( n . is_integer and n . is_nonnegative ) ) : #NEWLINE# #INDENT# return self #NEWLINE# #UNINDENT# k = Dummy ( 'k' , integer = True , positive = True ) #NEWLINE# return Product ( ( ( self + k ) / k ) , ( k , 2 , n ) )