All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Pick 6 get power of 6 (Posted on 2023-05-03) Difficulty: 4 of 5
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.

No Solution Yet Submitted by Jer    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution corrected program and solution | Comment 6 of 9 |
With the correction I get 18 sets.

ct=0;
c=combinator(25,6,'c');
for i =1:length(c)
    p=prod(c(i,:)) ;
    r=round(log(p)/log(6));
    if 6^r==p
        disp(c(i, :) ) 
        disp([p r]) 
        disp(' ')
        ct =ct+1;
    end
end
ct

     1     2     3     4     6     9
        1296           4
 
     1     2     3     6     9    24
        7776           5
 
     1     2     3     6    12    18
        7776           5
 
     1     2     3     8     9    18
        7776           5
 
     1     2     4     6     9    18
        7776           5
 
     1     2     6     9    18    24
       46656           6
 
     1     3     4     6     9    12
        7776           5
 
     1     3     4     9    18    24
       46656           6
 
     1     3     6     9    12    24
       46656           6
 
     1     3     6     9    16    18
       46656           6
 
     1     3     8     9    12    18
       46656           6
 
     1     4     6     9    12    18
       46656           6
 
     1     6     9    12    18    24
      279936           7
 
     2     3     4     9    12    18
       46656           6
 
     2     3     6     8     9    18
       46656           6
 
     2     3     9    12    18    24
      279936           7
 
     3     4     6     9    18    24
      279936           7
 
     3     6     8     9    12    18
      279936           7
 
ct =
    18

  Posted by Charlie on 2023-05-04 15:45:58
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (9)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information