Arithmetic Numbers
Details
An arithmetic number is a number for which the average of its divisors is an integer. For example, number 6 is arithmetic because its divisors (1, 2, 3 and 6) average 3.
Print all the arithmetic numbers from 1 to 10,000 inclusive, each on their own line.
0 bytes, 0 chars
Restore solution
Compiled from
AT&T syntax to x86-64 Linux. Use
syscalls to write output.
ctrl + enter or