Need help with AMATYC math problem

  • Context: Undergrad 
  • Thread starter Thread starter carlsjo
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around solving a mathematical problem from an AMATYC contest, specifically finding the smallest number divisible by 33 that is greater than 1,000,000 and consists only of the digits 0 and 1. Participants explore various methods and reasoning to arrive at the solution.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant presents a Mathematica solution to find the number, concluding that the answer is 1101111.
  • Another participant extends the method to find solutions for larger bounds, stating the answers for one billion and one trillion as 1000011111 and 1000000101111, respectively.
  • One participant suggests using divisibility rules for 3 and 11 as an alternative approach to solve the problem.
  • A detailed exploration of the divisibility rules is provided, including the conditions for the digit sum and alternating sums, leading to the conclusion that the smallest number is likely 1101111.
  • Another participant confirms that 1101111 is indeed the correct answer and expresses gratitude for the explanation provided.

Areas of Agreement / Disagreement

There is a general agreement on the answer being 1101111, but the discussion includes various methods and reasoning that have not been universally accepted or verified by all participants.

Contextual Notes

Some assumptions regarding the properties of numbers formed by the digits 0 and 1, as well as the application of divisibility rules, are discussed but not fully resolved. The exploration of different methods indicates a range of approaches without a definitive consensus on the best method.

Who May Find This Useful

Participants interested in mathematical problem-solving, particularly those focused on divisibility rules and computational methods, may find this discussion beneficial.

carlsjo
Messages
4
Reaction score
0
Does anyone know how to solve this problem:

"Let N be the smallest number divisible by 33 which is greater than 1,000,000 and whose digits are all 0’s and 1’s. What are N’s leading four digits?"

I ran across this problem in an old AMATYC contest question.

Any help would be much appreciated.
 
Mathematics news on Phys.org
It is doubtful that the contest would have wanted my one-line Mathematica solution:

In :=
First@Select[
First /@ RealDigits /@
Select[Range[1000000, 2000000], IntegerQ[#/33] &],
Function[s, And @@ (If[# > 1, False, True] & /@ s)]]

Out : =

{1, 1, 0, 1, 1, 1, 1}

Therefore the winner is 1101111 = 33367 * 33
 
By a trivial extension of my method we also solve the problem for the case where the lower bound is a billion, so the answer is 1000011111, and when the lower bound is a trillion so that the answer is 1000000101111.
 
Try using the divisibility rules for 11 and 3.
 
Using Mathematica is definitely not an option, but very effective. Nice program. Thanks.

I'll try working through the divisibilty rules for 11 and 3 like aligatorman suggests and see what I can come up with.
 
Using the rules:

Division by three: The sum of the digits is divisible by 3.

Division by eleven: The alternating sum of the digits is divisible by 11 (or is 0). i.e. for 1111, +1-1+1-1=0 so it is divisible by 11.

First, I presumed that the answer is 7 digits long with the first digit being one.

The digit sum could be 6 or 3.

Presuming the digit sum is 6:

If the numbers digits are 1,a,b,c,d,e,f then a+b+c+d+e+f = 5 (meaning that there is only one 0)

This zero could go in any of the 6 places, but if you take into account for the division by 11 rule, the smallest number possible to make with 6 ones in it is:

1,101,111

Presuming the digit sum is 3:

We know that a+b+c+d+e+f=2 and that a-b+c-d+e-f = 0. If we want a smaller answer, then we also know that either a=0, or a=1 and b=0. I will check each possibility for solutions.

if the answer is 1,10c,def:

c+d+e+f=1 and -c+d-e+f = 0. There are NO solutions in this form! (because how can the sum of just one one be zero?)

if the answer is 1,0bc,def:

b+c+d+e+f=2 and b-c+d-e+f=-1. There are NO solutions in this form either! (because how can the sum of 2 ones be -1?)

So the correct answer is the one mentioned before:

1,101,111.

Is this right?
 
Sorry for late response.
That was the answer: 1011, 111.
Thanks. Your explanation was very helpful.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
4
Views
2K
  • · Replies 125 ·
5
Replies
125
Views
20K