Find the smallest number comprised of only 3’s and 7’s which fits the following conditions:
1) It has at least one 3;
2) It has at least one 7;
3) It is divisible by 3;
4) It is divisible by 7;
5) The sum of its digits is divisible by 3;
6) The sum of its digits is divisible by 7.
Rules 2 and 4 are equivalent.
We need the number of 7's to be a multiple of three and the number 3's to be a multiple of 7 to satisfy rules 1, 2, 3, 5 and 6.
3333333777 is the smallest such number but does not fit rule 4.
Rearranging the digits a bit gives the smallest that does as 3333377733
Comments: (
You must be logged in to post comments.)