The algorithm is in python but is easy enough to understand:
for i in range(5):
for j in range(10):
for k in range(20):
res = 20*i + 10*j + 5*k
if (res == 100):
print("{} notas de 20\n{} notas de 10\n{} notas de 5\n".format(i,j,k))
May I please to know a formule to give the manners to sum R\$100 with notes of R\$5, R\$10 and R\$20.
And another question: Would you write a formule to transform the repeat node 'for x in range(20)' into mathematics?
Thanks folks
Edit
May I please to know how i show the number of possible results of the python algoritm through this domain (the mathematical domain supposed in the algorithm).
Edit
Need a answer in mathematical form.

I guess I would say that you're defining the set $\{i \in \mathbb{Z}_5, j \in \mathbb{Z}_{10}, k \in \mathbb{Z}_{20} | 20i + 10j + 5k = 100\}$, although there are a few different ways you could express the idea that $i$ is a positive integer less than 5.