Somma delle cifre 10

Small Basic Challenge – 05/2013 Small 1

Write a program that finds all the numbers less than 1000 that contain only digits that sum to 10, e.g. 55, 73, 137, but not 423. How many are there?


Small Basic Challenge – 11/2012 Math 1

Find all the numbers less than 1000, where the sum of the digits is 15, for example 96 or 177. How many are there?


Quali numeri…
Quanti numeri…
Quanti numeri per ogni somma?

Noti qualche simmetria nei risultati?

Con visual.graph

Notice: This work is licensed under a BY-NC-SA. Permalink: Somma delle cifre 10

Comments are closed.