Topic: Mathematics Problem / Level: intermediate

Problem: Write a program to compute the number of ways to express a number as a sum of two squares.

Run the code to see the output here...