SquaresR

Sum of squares function (WMA)


SquaresR[d, n]

returns the number of ways to represent n as a sum of d squares.

RandomPrime