Alexei and Boris both have a whole number of chocolates, lollipops and toffees, and the product of the number of each boy's of chocolates, lollipops and toffees is 336. It is known that:
(A) Each boy has fewer chocolates than lollipops.
(B) For each boy, the product of the number of chocolates and lollipops equals the total number of candies he has.
(C) Alexei has more lollipops than toffees.
Determine the number of chocolates, lollipops and toffees possessed by each of Alexei and Boris.
(In reply to Computer solution
by Ken Haley)
There are 20 possible factors:
You omitted 7 and 48.....
Generally speaking, if a number N may be decomposed into primes: N=2^a1*3^a2*5^a3* ... p^aZ
then the number of possible divisors is (a1+1)*(a2+1)*(a3+1)*...*(aZ+1)
In our case 5*2*2=20
Please acknowledge compliance