In mathematics, and in particular number theory, a practical number or panarithmic number is a positive integer "n" such that all smaller positive integers can be represented as sums of distinct divisors of "n". For example, 12 is a practical number because all the numbers from 1 to 11 can be expressed as sums of its divisors 1, 2, 3, 4, and 6: as well as these divisors themselves, we have 5=3+2, 7=6+1, 8=6+2, 9=6+3, 10=6+3+1, and 11=6+3+2.
The sequence of practical numbers OEIS | id = A005153 begins:1, 2, 4, 6, 8, 12, 16, 18, 20, 24, 28, 30, 32, 36, 40, 42, 48, 54, ...
Practical numbers were used by Fibonacci in his Liber Abaci (1202) in connection with the problem of representing rational numbers as Egyptian fractions. Fibonacci does not formally define practical numbers, but he gives a table of Egyptian fraction expansions for fractions with practical denominators harv|Sigler|2002. In the modern mathematical literature, beginning with harvtxt|Srinivasan|1948, practical numbers have been studied for their similarities with prime numbers. A characterization by Stewart makes it possible to determine whether a number is practical by examining its prime factorization. Any even perfect number and any power of two is also a practical number.
Practical numbers and Egyptian fractions
If "n" is practical, then any rational number of the form "m"/"n" may be represented as a sum ∑"di"/"n" where each "di" is a distinct divisor of "n". Each term in this sum simplifies to a unit fraction, so such a sum provides a representation of "m"/"n" as an Egyptian fraction. For instance,:
Fibonacci, in his 1202 book Liber Abaci harv|Sigler|2002 lists several methods for finding Egyptian fraction representations of a rational number. Of these, the first is to test whether the number is itself already a unit fraction, but the second is to search for a representation of the numerator as a sum of divisors of the denominator, as described above; this method is only guaranteed to succeed for denominators that are practical. Fibonacci provides tables of these representations for fractions having as denominators the practical numbers 6, 8, 12, 20, 24, 60, and 100.
Characterization of practical numbers
As harvtxt|Stewart|1954 showed, it is straightforward to determine whether a number is practical from its prime factorization.A positive integer with and