Sreejato's ordered pairs

For positive integers x x , let f ( x ) f(x) be the number of ordered pairs of positive integers ( a , b ) (a, b) such that 1 a + 1 b = 1 x . \frac{1}{a} + \frac{1}{b} = \frac{1}{x}.

Find the smallest possible value of N N such that N N is a prime power and f ( N ) = 13 f(N)= 13 .

This problem is posed by Sreejato B.

Details and assumptions

A prime power is of the form p n p^n , where p p is a prime number and n n is a positive integer.


The answer is 64.

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.

16 solutions

Because all of a , b , x a,b,x are positive, we can multiply through by a b x a \cdot b \cdot x in the equation 1 a + 1 b = 1 x \frac{1}{a} + \frac{1}{b} = \frac{1}{x} to get x ( a + b ) = a b x(a + b) = ab . Rearranging and factoring gives us ( a x ) ( b x ) = x 2 (a - x)(b - x) = x^2 , and from this, it is clear that f ( x ) f(x) is the number of divisors of x 2 x^2 , since ( a x ) , ( b x ) Z (a-x),(b-x) \in \mathbb{Z} .

We have x = p n x = p^n with p p a positive prime and n n a positive integer. The previous equation becomes ( a p n ) ( b p n ) = p 2 n (a - p^n)(b - p^n) = p^{2n} . Clearly, p 2 n p^{2n} has 2 n + 1 2n + 1 divisors, and so f ( p n ) = 13 2 n + 1 = 13 n = 6 f(p^n) = 13 \to 2n + 1 = 13 \to n = 6 . Thus, we want the smallest possible value of p 6 p^6 where p p is a positive prime, which is obviously 2 6 = 64 2^6 = \fbox{64} .

good Mr. Sotiri,,,best and lucid method!!!

Ravi Prakash Roy - 7 years, 10 months ago

Log in to reply

I'm glad you liked it :)

Sotiri Komissopoulos - 7 years, 10 months ago

Your solution is very well written. I have a small suggestion though. Use more paragraphs.

I know it takes up more space but it makes solutions a bit more readable.

Mursalin Habib - 7 years, 10 months ago

Instead of factoring, I used the fact that b(p^n) is divisble by b-(p^n) and then used modular arithmetic to know that (p^2n) is divisible by b-(p^n). Rest solution was the same as that of your method.

Siddharth Kumar - 7 years, 10 months ago

I wrote a Pascal programming code for this issue :-p

Minh Quân Nguyễn - 7 years, 10 months ago
Thaddeus Abiy
Jul 29, 2013

I solved this problem with the assumption that f ( N ) = 13 f(N)=13 . I shall explain why later. The solutions to the Diophantine equation 1 a + 1 b = 1 x \frac{1}{a} + \frac{1}{b} = \frac{1}{x} are related to the divisors of x 2 x^2 . This is because

1 a + 1 b = 1 x \frac{1}{a}+\frac{1}{b}=\frac{1}{x}

a + b a b = 1 x \frac{a+b}{ab}=\frac{1}{x}

From this we have

a b a x b x = 0 ab-ax-bx=0

Adding x 2 x^{2} to both sides

x 2 + a b a x b x = x 2 x^{2}+ab-ax-bx=x^{2}

Factorizing we get

( a x ) ( b x ) = x 2 (a-x)(b-x)=x^{2}

Hence we see that the number of solutions to 1 a + 1 b = 1 x \frac{1}{a}+\frac{1}{b}=\frac{1}{x} is τ ( x 2 ) \tau(x^{2}) which means that f ( x ) = τ ( x 2 ) f(x)=\tau(x^{2}) ,where τ ( x ) \tau(x) is a function that counts the number of divisors of x x . It is also well known that for an integer N N with prime factorization N = p 1 a 1 . p 2 a 2 . p 3 a 3 . . . N=p1^{a1} . p2^{a2} . p3^{a3} ... τ ( N ) = ( a 1 + 1 ) . ( a 2 + 1 ) . ( a 3 + 1 ) . . \tau(N)=(a1+1).(a2+1).(a3+1).. .

Now we have:

13 = τ ( N 2 ) 13=\tau(N^2)

13 = ( a 1 + 1 ) . ( a 2 + 2 ) . ( a 3 + 3 ) . . . = τ ( N 2 ) = f ( N ) 13=(a1+1).(a2+2).(a3+3)...=\tau(N^2)=f(N)

but since N N is a prime power its factorization should be of the form N = p 1 a 1 + 1 N=p1^{a1+1}

so:

a 1 + 1 = 13 a1+1=13

a 1 = 12 a1=12

N 2 = p 12 N^2=p^{12}

N = p 6 N=p^6

If N N had been 12 12 we would have got 6.5 as an exponent.

Since we are asked for the smallest possible value of N N we take the smallest possible prime 2 2

Giving us N = 2 6 = 64 N=2^6=64

I wrote a quick hack to generate the pairs ( a , b ) (a,b) . It revealed that there are 13 of them.So there is no way that f ( N ) = 12 f(N)=12 . Please correct the question to read f ( N ) = 13 f(N)=13 .

( 4160 , 65 ) (4160, 65) ( 80 , 320 ) (80, 320) ( 192 , 96 ) (192, 96) ( 320 , 80 ) (320, 80) ( 72 , 576 ) (72, 576) ( 66 , 2112 ) (66, 2112) ( 96 , 192 ) (96, 192) ( 128 , 128 ) (128, 128) ( 1088 , 68 ) (1088, 68) ( 65 , 4160 ) (65, 4160) ( 576 , 72 ) (576, 72) ( 2112 , 66 ) (2112, 66) ( 68 , 1088 ) (68, 1088)

EDIT: It has been corrected.

Thaddeus Abiy - 7 years, 10 months ago

Log in to reply

(a,b) is an ordered pair, so for (4160,65) and (65,4160) isn't it the same?

Ghany M - 7 years, 10 months ago

Log in to reply

Actually no,ordered pairs with interchanged x and y values are distinct form each other. If that wasn't the case we would have 6 solutions.

Thaddeus Abiy - 7 years, 10 months ago

Log in to reply

@Thaddeus Abiy ok.. thx :)

Ghany M - 7 years, 10 months ago

Correct. I too had spent too much time thinking, because of that mistake... I thought to request of dispute, but when mathematicians like Calvin are question setters, it's better to review your argument!

A Brilliant Member - 7 years, 10 months ago

Log in to reply

It is! I think this question might have made a good computer science problem too,building an efficient factorizing function is very tricky,

Thaddeus Abiy - 7 years, 10 months ago

I like this one!

Yunhao King - 7 years, 10 months ago

Log in to reply

thanks :)

Thaddeus Abiy - 7 years, 10 months ago

Best solution! And God bless Ethiopia - I remember their exhibit at Expo 67 in Montreal!

Terry Smith - 5 years, 11 months ago
Tim Vermeulen
Jul 30, 2013

We want to find the number of ordered pairs of positive integers ( a , b ) (a,b) such that

1 a + 1 b = 1 N . \frac{1}{a} + \frac{1}{b} = \frac{1}{N}.

Obviously, a , b > N a,b>N , because a a and b b are both positive. Let b = N + d b = N + d for some positive integer d d . The equation then becomes

1 a + 1 N + d = 1 N 1 a = 1 N 1 N + d = d N ( N + d ) . \frac{1}{a} + \frac{1}{N+d} = \frac{1}{N} \implies \frac{1}{a} = \frac{1}{N} - \frac{1}{N+d} = \frac{d}{N(N+d)}.

So,

a = N ( N + d ) d = N + N 2 d . a = \frac{N(N+d)}{d} = N + \frac{N^2}{d}.

The number of ordered pairs ( a , b ) (a,b) that satisfy the equation is therefore the same as the number of values d d can take, i.e. the number of positive divisors of N 2 N^2 . We know that N N is a prime power, i.e.

N = p n N 2 = p 2 n , N = p^n \implies N^2 = p^{2n},

and p 2 n p^{2n} has 2 n + 1 2n+1 divisors. So,

2 n + 1 = 13 n = 6 N = p n = p 6 . 2n+1=13\implies n=6 \implies N = p^n = p^6.

Clearly, the smallest possible value of N = p 6 = 2 6 = 64 N = p^6 = 2^6 = \boxed{64} .

Mark Hennings
Jul 29, 2013

The question should read f ( N ) = 13 f(N)=13 . If a , b a,b are positive integer solutions of a 1 + b 1 = N 1 a^{-1}+b^{-1}=N^{-1} , then a , b > N a,b > N and N b + N a = a b Nb+Na=ab , so ( a N ) ( b N ) = N 2 (a-N)(b-N)=N^2 . Thus the positive integer solutions of the equation a 1 + b 1 = N 1 a^{-1}+b^{-1}=N^{-1} are a = N + α , b = N + β a=N+\alpha,b=N+\beta where α , β \alpha,\beta are positive integer factors of N 2 N^2 and α β = N 2 \alpha\beta=N^2 . Thus f ( N ) = d ( N 2 ) f(N)=d(N^2) is the number of positive divisors of N 2 N^2 , which is always odd. For N = p n N=p^n and f ( N ) = 13 f(N)=13 , we need 2 n + 1 = d ( p 2 n ) = 13 2n+1=d(p^{2n})=13 , so n = 6 n=6 . The smallest such N N is N = 2 6 = 64 N=2^6=64 .

Russell Few
Aug 1, 2013

We expand to get that a + b a b = 1 x \frac{a+b}{ab}=\frac{1}{x} , so a b = x ( a + b ) ab=x(a+b) . Thus a b x ( a + b ) = 0 ab-x(a+b)=0 and a b x ( a + b ) + x 2 = x 2 ab-x(a+b)+x^2=x^2 . Simplifying, we get ( a x ) ( b x ) = x 2 (a-x)(b-x)=x^2 . Note that a x a-x and b x b-x must be positive integers, otherwise one of a a or b b would not be a positive integer. We first choose a x a-x as a positive factor of x 2 x^2 then b x b-x would follow. Thus f ( N ) f(N) is the number of ways to choose a factor of x 2 x^2 , which means that x 2 x^2 must have 13 positive integer factors.

Thus x 2 x^2 is a 12th power of a prime, thus its minimum is 2 12 = 4096 2^{12}=4096 . Hence the smallest possible value of N N is 4096 = 64 \sqrt{4096}=\boxed{64} .

Michael Tang
Jul 31, 2013

Let N = p k , N = p^k, where p p is a prime and k k is a positive integer. Then we have 1 a + 1 b = 1 p k . \dfrac{1}{a} + \dfrac{1}{b} = \dfrac{1}{p^k}. Clearing out the fractions, we get a p k + b p k = a b . ap^k+bp^k = ab. Manipulating this equation allows us to obtain the factorization p 2 k = ( a p k ) ( b p k ) . p^{2k} = (a-p^k)(b-p^k). Factoring the left-hand side as p 2 k = ( p i ) ( p 2 k i ) p^{2k} = (p^i)(p^{2k-i}) for some integer i i gives the solution ( a , b ) = ( p i + p k ) , ( p 2 k i + p k ) . (a,b) = (p^i + p^k), (p^{2k-i} + p^k). Because a a and b b are integers, we must have 0 i 2 k . 0 \le i \le 2k. In addition, we can't factorize p 2 k = ( p i ) ( p 2 k i ) p^{2k} = (-p^i)(-p^{2k-i}) because then a a and b b would not both be positive; so, these are the only solutions.

For each integer i i with 0 i 2 k , 0 \le i \le 2k, there is exactly one solution to the original equation. Thus, there are 2 k + 1 2k+1 solutions to the original equation. Because we want f ( N ) = 13 , f(N) = 13, we solve the equation 2 k + 1 = 13 2k+1 = 13 to get k = 6. k=6. So, N N is in the form p 6 p^6 for some prime p . p. To minimize N , N, we take p = 2 , p = 2, hence the smallest possible value of N N is 2 6 = 64 . 2^6 = \boxed{64}.

Ivan Koswara
Jul 31, 2013

We can manipulate the equation:

1 a + 1 b = 1 x \dfrac{1}{a} + \dfrac{1}{b} = \dfrac{1}{x}

a + b a b = 1 x \dfrac{a+b}{ab} = \dfrac{1}{x}

x ( a + b ) = a b x(a+b) = ab

a b x ( a + b ) + x 2 = x 2 ab - x(a+b) + x^2 = x^2

a b a x b x + x 2 = x 2 ab - ax - bx + x^2 = x^2

( a x ) ( b x ) = x 2 (a-x)(b-x) = x^2

Since a , b > 0 a,b > 0 , then a x , b x > x a-x, b-x > -x . Suppose that a x 0 a-x \le 0 , then b x 0 b-x \le 0 (otherwise ( a x ) ( b x ) 0 (a-x)(b-x) \le 0 while x 2 > 0 x^2 > 0 ). But then ( a x ) ( b x ) = ( x a ) ( x b ) < x x = x 2 (a-x)(b-x) = (x-a)(x-b) < x \cdot x = x^2 , impossible. So a x > 0 a-x > 0 . Similarly, b x > 0 b-x > 0 .

Now, a x a-x can be any positive factor of x 2 x^2 , and b x b-x will simply follow suit ( b x = x 2 a x b-x = \dfrac{x^2}{a-x} ). Obviously as a x a-x is a factor of x 2 x^2 , x 2 a x \dfrac{x^2}{a-x} is a positive integer and hence a possible value for b x b-x . On the other hand, when a x a-x is not a factor of x 2 x^2 , x 2 a x \dfrac{x^2}{a-x} is not an integer and hence b x b-x will not be an integer, and hence b b will not be an integer, contradiction. So there are precisely as many solutions of ( a , b ) (a,b) as there are positive factors of x 2 x^2 . So f ( x ) f(x) is precisely τ ( x 2 ) \tau(x^2) where τ \tau is the divisor function .

Now, let N = p n N = p^n because N N is a prime power. Then f ( N ) = f ( p n ) = τ ( p 2 n ) = 2 n + 1 f(N) = f(p^n) = \tau(p^{2n}) = 2n+1 , since there are 2 n + 1 2n+1 divisors of p 2 n p^{2n} (namely p 0 , p 1 , , p 2 n p^0, p^1, \ldots, p^{2n} ). Since f ( N ) = 13 f(N) = 13 , we have 2 n + 1 = 13 2n+1 = 13 and so n = 6 n = 6 .

Since p 6 p^6 is strictly increasing for positive p p , the smallest value of N N is achieved when p p is minimized. The smallest prime is 2 2 , so p = 2 p=2 gives the minimum value of N = 2 6 = 64 N = 2^6 = \boxed{64} .

Remark: The problem originally states f ( N ) = 12 f(N) = 12 . After I complained (by the dispute feature, and there should be other people complaining too), the problem was changed to f ( N ) = 13 f(N) = 13 .

Ivan Koswara - 7 years, 10 months ago

Log in to reply

I was stuck here for hours, no maybe days, and when the problem was suddenly corrected, I was ....................... (can't explain)

Arnab Animesh Das - 7 years, 10 months ago

I complained as well. It took me an embarrassingly long time to realize that if (a,b) was a solution, then so was (b,a) so the solutions always occur in pairs, except for the case where a = b = 2x, which means that f(N) will always be an odd number.

Tammy Frietsch - 7 years, 10 months ago
Thomas Beuman
Jul 30, 2013

We rewrite the equation:

1 a + 1 b = 1 x a + b a b = 1 x a b = ( a + b ) x x 2 = a b ( a + b ) x + x 2 = ( a x ) ( b x ) \frac1a + \frac1b = \frac1x \\ \iff \frac{a+b}{ab} = \frac1x \\ \iff ab = (a+b)x \\ \iff x^2 = ab - (a+b)x + x^2 = (a-x)(b-x)

Therefore, the pair ( a , b ) (a,b) is a solution iff ( a x ) ( b x ) (a-x)(b-x) is a factorization of x 2 x^2 with a x a-x and b x b-x both larger than x -x . This last condition rules out factorizations involving negative factors, since then one of them is necessarily at most x -x . All factorizations with positive factors however yield a valid solution.

It is specified that x = p n x = p^n . The factorizations of x 2 = p 2 n x^2 = p^{2n} are all of the form p k p 2 n k p^k p^{2n-k} , with 0 k 2 n 0 \leq k \leq 2n , hence there are 2 n + 1 2n+1 factorizations and thus 2 n + 1 2n+1 solutions to the original equation. Therefore, 2 n + 1 = 13 2n+1=13 , and n = 6 n=6 .

The smallest number x x of the form p 6 p^6 is trivially x = 2 6 = 64 x = 2^6 = \boxed{64}

As good as usual.Like your solution

Yunhao King - 7 years, 10 months ago
Caio Dorea
Jul 29, 2013

1 N \frac{1}{N} = 1 a \frac{1}{a} + 1 b \frac{1}{b}

So, N is equal to:

N= a b a + b \frac{ab}{a+b}

ab=aN + bN

ab - aN - bN=0

ab - aN - bN - N 2 ^{2} =N 2 ^{2}

(a-N)(b-N)=N 2 ^{2}

N 2 N^{2} is a perfect square and N is a prime power, therefore N 2 N^{2} must have 13 divisors in order to f(N)=12, because each divisor correspond to one ordered pair(a,b), but N, because N 2 N^{2} is a perfect square

Anyone that assumed that f(N) = 12 is wrong, because N^2 will always have a positive odd number of divisors. Therefore, f(N) must equal 13, if there was a mistake, and 64 is the wrong answer. There is in fact, no real answer to this question.

Vishwa Iyer - 7 years, 10 months ago
Zi Song Yeoh
Jul 29, 2013

1 a + 1 b = 1 N ( a N ) ( b N ) = N 2 \frac{1}{a} + \frac{1}{b} = \frac{1}{N} \Rightarrow (a - N)(b - N) = N^{2} . Let N = p k N = p^{k} . ( a p k ) ( b p k ) = p 2 k (a - p^{k})(b - p^{k}) = p^{2k} have clearly 2 k 2k solutions. We want 12 12 solutions, so we set k = 6 k = 6 . The minimum value of N N is clearly 2 6 = 64 2^{6} = 64 .

shouldn't f(p^k) = 2k+1?

Nhat Pham - 7 years, 10 months ago

a = b = 2N is always a solution for the equation, which makes the number of ordered pairs positive integer solutions always odd. So f(N) = 12 is impossible.

Trang Lê - 7 years, 10 months ago

As mentioned in an earlier comment, f ( n ) = 13 f(n)= 13 , not 12 12 . f ( n ) f(n) is odd for all n n . I asked for f ( n ) = 7 f(n)= 7 is my original question, and it has been changed to 12 12 here. Most possibly it is a typo.

Sreejato Bhattacharya - 7 years, 10 months ago

Log in to reply

This is a modification of the 10th problem of INMO 1991. Right Sreejato?

Sagnik Saha - 7 years, 10 months ago

Oops, miscounted. :(

Zi Song Yeoh - 7 years, 10 months ago
Jiayang Zhao
Jul 30, 2013

Let N = p n N=p^n . Thus we examine the equation 1 a + 1 b = 1 p n \frac{1}{a} + \frac{1}{b} = \frac{1}{p^n} . Rearranging slightly, we have:

1 p n = a + b a b \frac{1}{p^n} = \frac{a+b}{ab}

p n = a b a + b \therefore p^n = \frac{ab}{a+b}

Let us say, without loss of generality, that a b a \leq b . Since p n p^n is an integer, a + b a+b must divide a b ab . It follows that b b must be a multiple of a a and thus can be written as k a ka , for some integer k k . Plugging in, we have:

a b a + b = k a 2 a + k a = k a 1 + k = p n \frac{ab}{a+b} = \frac{ka^2}{a+ka} = \frac{ka}{1+k} = p^n

k k is not a factor of 1 + k 1+k , thus 1 + k 1+k must divide a a . Since p p is prime, we have k = p c k = p^c and a 1 + k = p n c \frac{a}{1+k} = p^{n-c} , for some integer c c such that 0 c n 0 \leq c \leq n . Solving for a a and b b , we have:

a = ( 1 + k ) p n c = ( 1 + p c ) p n c a = (1+k)p^{n-c} = (1+p^c)p^{n-c}

b = k a = ( 1 + p c ) p n b = ka = (1+p^c)p^n

Plugging in valid values for c c ( c c is an integer such that 0 c n 0 \leq c \leq n ) will always result in a pair of integers ( a , b ) (a, b) such that 1 a + 1 b = 1 p n \frac{1}{a} + \frac{1}{b} = \frac{1}{p^n} . Additionally, for every ordered pair ( a , b ) (a, b) obtained, we also have an additional pair ( b , a ) (b, a) , except for when c = 0 c = 0 , because then a = b a = b . Since we want f ( N ) = 13 f(N) = 13 , we want c c to take on 13 1 2 = 6 \frac{13-1}{2} = 6 values, not including 0 0 . We thus we choose n = 6 n = 6 .

The smallest prime power where n = 6 n = 6 is 2 6 = 64 2^6 = 64 .

Pafnuti Lvovitch
Jul 30, 2013

Rearranging the expression we got: b = a x a x b = \frac{ax}{a-x}

So a x a-x | a x ax , what implies that:

a x \Rightarrow a-x | a x x ( a x ) ax - x(a-x)

a x \Rightarrow a-x | x 2 x^2

Therefore, we have as many a a 's satisfying the given conditions as divisors of x 2 x^2 . The smallest number that have exactly 13 13 divisors and is a prime power is 2 12 2^{12} . Therefore, the number we're looking for is 2 12 = 2 6 = 64 \sqrt{2^{12}} = 2^6 = 64 .

Jimmy Kariznov
Jul 30, 2013

Clearly, a , b > x a,b > x . Multiply both sides of 1 a + 1 b = 1 x \dfrac{1}{a} + \dfrac{1}{b} = \dfrac{1}{x} by a b x abx to get:

b x + a x = a b bx+ax = ab , i.e. 0 = a b a x b x 0 = ab - ax - bx .

Using SFFT we can add x 2 x^2 to both sides to get:

x 2 = a b a x b x + x 2 = ( a x ) ( b x ) x^2 = ab - ax - bx + x^2 = (a-x)(b-x) .

Hence, a x a-x and b x b-x must be complementary positive factors of x 2 x^2 .

If x 2 x^2 has m m positive factors, 1 = f 1 < f 2 < < f m 1 < f m = x 2 1 = f_1 < f_2 < \cdots < f_{m-1} < f_m = x^2 , then:

( a x , b x ) = ( f k , f m k ) (a-x,b-x) = (f_k,f_{m-k}) , i.e. ( a , b ) = ( x + f k , x + f m k ) (a,b) = (x+f_k,x+f_{m-k}) for k 1 , m k \in \overline{1,m} .

There are m m such pairs ( a , b ) (a,b) . So, f ( x ) f(x) is the number of positive factors of x 2 x^2 .

If N = p n N = p^n , then N 2 = p 2 n N^2 = p^{2n} which has 2 n + 1 2n+1 positive factors.

So, f ( N ) = f ( p n ) = 2 n + 1 = 13 n = 6 f(N) = f(p^n) = 2n+1 = 13 \leadsto n = 6 . So, we need N = p 6 N = p^6 .

The smallest prime is p = 2 p = 2 . Hence, the smallest such N N is 2 6 = 64 2^6 = \boxed{64} .

Ruslan Abdulgani
Jul 30, 2013

We can try the prime power 2^6 or 64. (1/a) + (1/b) = 1/64. (a + b)/(ab) = 1/64. 64a + 64b = ab. a(b - 64) = 64b. From this equation we can find the a in term of b, namely: a = 64 + (64*64)/(b - 64). We can have 13 pairs of (a,b): b - 64 =1, 2,4,8,16,32,64,128,256,512,1024,2048,4096. So (a,b) = (4160,65),(2112,66),(1088,68),(576,72),(320,80),(192,96),(128,128),(96,192),(80,320),(72,576),(68,1088),(66,2112),(65,4160).

And to prove that 64 64 is the minimum value that works?

Ivan Koswara - 7 years, 10 months ago
David Vaccaro
Jul 30, 2013

Rearranging gives:

- b = x + x 2 a x b=x+\frac{x^{2}}{a-x}

We hence have positive solutions corresponding to positive factors of x^2. If x is a prime power p^n then f(x)=2n. We therefore want n=6 and 64 is the smallest sixth power.

N.B. We presumably we cannot have a=b because otherwise f(x) would need to be odd. Two orders for distinct solutions and just one order for a=2x, b=2x.

Daniel Liu
Jul 29, 2013

We have 1 a + 1 b = 1 N \dfrac{1}{a}+\dfrac{1}{b}=\dfrac{1}{N} . Clearing denominators we get a b = N a + N b a b N a N b = 0 ( a N ) ( b N ) = N 2 ab=Na+Nb\implies ab-Na-Nb=0\implies (a-N)(b-N)=N^2 . Note that the number of factors of N 2 N^2 is also going to be the number of ordered pairs (a,b) satisfying the equation. But wait! There are an even number of solutions, and an odd number of factors of N 2 N^2 ! Where did we go wrong? Notice that the ordered pair (0,0) satisfies our equation after clearing denominators, but it does not satisfy our original equation. We had assumed that a , b 0 a, b\ne 0 but included it in our count. Therefore, we must subtract this case from our total count. So we need to find an N N such that the factors of N 2 N^2 minus one is equal to twelve. Therefore, the number of factors of N 2 N^2 is 13. We represent N = p n N=p^n . So the number of factors of p 2 n p^{2n} is 13. Therefore 2 n + 1 = 13 2n+1=13 and n = 6 n=6 . We want N N as small as possible, so we make p = 2 p=2 . Therefore our final answer is 2 6 = 64 2^6=\boxed{64}

What went wrong in your argument is the contradiction: "There are an odd number of factors of N^2". Okay, I assume here you are only considering the positive factors. But then the pair (0,0) gives -N and -N for the factors of N^2. Therefore, your subtraction is invalid.

Trang Lê - 7 years, 10 months ago

Log in to reply

I had the same problem, there is nothing in the question that states why you can't have a=b, so it's valid to.

Vishwa Iyer - 7 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...