In this short note, we derive closed expressions for Cotes numbers in the weighted Newton- Cotes quadrature formulae with equidistant nodes in terms of moments and Stirling numbers of the first kind. Three types of equidistant nodes are considered. The corresponding program codes inMathematica Package are presented. Finally, in order to illustrate the application of the obtained quadrature formulas a few numerical examples are included.