In how many ways can 6 different numbers be chosen from the first 25 positive integers such that the product of these numbers is a power of 6?
Note: This problem is adapted from a regional math competition for students up to grade 9 and calculators were not allowed.
(In reply to
computer solution (spoiler) by Charlie)
You appear to have misread the problem. I asked for powers of 6 (1,6,36,216...) not perfect 6th powers (1,64,729...).
A lot of the answers do happen produce the intersection: 6^6.
You may just need to change your program to use logarithms instead of roots.
|
Posted by Jer
on 2023-05-04 08:46:13 |