Find the smallest positive integer that cannot be written as
2 c − 2 d 2 a − 2 b
for positive integers a , b , c , and d .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Very nice interpretation. This gives a description of all such numbers.
"It's clear that this is an integer if and only if z ∣ y " could use a bit more explanation.
Log in to reply
Ok. First, 2 x 2 z − 1 2 y − 1 is an integer if and only if ( 2 z − 1 ) ∣ 2 x ( 2 y − 1 ) , but 2 z − 1 and 2 x are relatively prime, so this happens if and only if ( 2 z − 1 ) ∣ ( 2 y − 1 ) . Certainly z ∣ y is sufficient. To see that it is necessary, write y = q z + r with 0 ≤ r < z and note that ( 2 z − 1 ) ∣ ( 2 y − 1 ) if and only if ( 2 z − 1 ) ∣ ( 2 r − 1 ) (e.g. look mod ( 2 z − 1 ) ). But 2 z − 1 > 2 r − 1 so the only possibility is r = 0 .
Log in to reply
Wow we both posted two not entirely different arguments at the exact same time. :P
It is easy to verify that the order of 2 ( m o d 2 j − 1 ) is j . If m is any positive integer smaller than j , 2 m − 1 < 2 j − 1 , so 2 m ≡ 1 ( m o d 2 j − 1 ) . Hence, ord 2 ( 2 j − 1 ) = j . It follows that 2 k ≡ 1 ( m o d 2 j − 1 ) if and only if k is a multiple of j .
I agree, really nice solution! I hadn't thought of generalizing my arguments.
tfyuidsgvcjkdysitfkA
hey i don't know what u did there ........... but if we take a=4 b=2 c=3 and d=1 then the equation solves to 2 which is smaller than 11
Log in to reply
The problem says "cannot be written," not "can be written."
What a solution . Just perfect. Keep it up
Call a positive integer n good if it can be expressed as 2 c − 2 d 2 a − 2 b for some positive integers a , b , c , d .
We first make the following observations.
Proof: Note that 2 n = 2 2 − 2 2 n + 2 − 2 n + 1 . ■
Proof: Note that 2 k − 1 = 2 2 − 2 2 k + 1 − 2 . ■
Proof: Note that 2 k + 1 = 2 k + 1 − 2 2 2 k + 1 − 2 . ■
Proof: Let j be the largest odd factor of n , and let n = 2 m j . Let n = 2 c − 2 d 2 a − 2 b . Then, j = 2 c + m − 2 d + m 2 a − 2 b . Conversely, if j = 2 r − 2 s 2 p − 2 q is good, so is n = 2 m j = 2 r − 2 s 2 p + m − 2 q + m . ■
By the above observations, we immediately reject 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 1 0 . We shall now show that 1 1 is not a good number. Suppose 1 1 = 2 c − 2 d 2 a − 2 b , where a > b and c > d . Rearrange it as 2 b ( 2 a − b − 1 ) = 1 1 × 2 d ( 2 c − d − 1 ) . Matching the highest powers of 2 in both sides, b = d . Then, the equation becomes 2 b ( 2 a − b − 1 ) = 1 1 × 2 b ( 2 c − b − 1 ) . Again, rewrite the equation as 2 a − b + 1 0 = 1 1 × 2 c − b . Note that c − b ≤ 1 , since otherwise we would have that 4 ∣ 1 1 × 2 c − b and 4 ∣ 2 a − b , which implies 4 ∣ 1 0 . Again, since c > d = b , c − b = 0 . So it follows that c − b = 1 . Our equation becomes 2 a − b = 1 2 , not possible.
In conclusion, the answer is 1 1 .
why not 5 ?
Prove that product of 4consecutive integers plus 1 is a perfect square
Log in to reply
Why are you posting this here?
Let the four integer be (n-1), n, (n+1), (n+2) Acc. to ques. (n-1)×n×(n+1)×(n+2)+1 = ( − n 2 − n + 1 ) 2
2, 4, 6, 8, 12, 14, 16, 24, 28, 30,32, 48, 50, 56, 60, 62, 64, 92, 96, ...; multiplied with {11, 13, 19, 22, 26, ...} cannot be on them; 11 is hence the smallest answer.
C.K. Lu, 40, Malaysia
Problem Loading...
Note Loading...
Set Loading...
WLOG we can assume a > b and c > d (we can switch them if necessary, and the quotient has to be positive). Now note that b ≥ d because otherwise the quotient is not an integer. Divide through by 2 d to get something of the form 2 x 2 z − 1 2 y − 1 , where x is nonnegative and y , z are positive.
It's clear that this is an integer if and only if z ∣ y . In that case, we can rewrite as 2 x ( 1 + 2 z + 2 2 z + ⋯ + 2 y − z ) . So the integers that can be written as a quotient like this are precisely the integers which, when we write their binary expansion, have their 1 's spaced evenly apart.
To get the smallest integer that fails this criterion, we clearly need at least three 1 's in the expansion, and since 1 1 1 works (with z = 1 and y = 3 ), we need at least four binary digits. This leads to 1 1 0 1 and 1 0 1 1 ; the smaller of these, 1 0 1 1 , is the decimal number 1 1 .