Problem 54680. Determine whether a number is practical
A number n is practical if all smaller numbers can be written as a sum of the proper divisors of n. The number 24 is practical because its proper divisors are 1, 2, 3, 4, 6, 8, and 12 and for example
However, 23 is not practical because its only proper divisor, 1, cannot be repeated in the sum.
Write a function to determine whether a number is practical.
Solution CommentsShow comments
Problem Recent Solvers6