Divisors in powers and multiplications

Fill in the blank:

a a and b b are positive integers such that \hspace{20cm}

  • a b a^b has exactly 5 positive divisors;
  • b a b^a has exactly 7 positive divisors;
  • a × b a\times b has exactly _______ \text{\_\_\_\_\_\_\_} positive divisors.
4 5 6 7

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.

10 solutions

Arjen Vreugdenhil
Jan 21, 2018

If n = p 1 e 1 p 2 e 2 n = p_1^{e_1}\cdot p_2^{e_2}\cdots with p i p_i prime, then the number of divisors τ ( n ) = ( e 1 + 1 ) ( e 2 + 1 ) . \tau(n) = (e_1 + 1)(e_2 + 1)\cdots.

Therefore, if the number of divisors τ ( n ) \tau(n) is a prime number p p , then n = q p 1 n = q^{p-1} , with q q prime. This allows us to write a b = q 4 , b a = r 6 with q , r prime ; a^b = q^4,\ b^a = r^6\ \ \ \ \ \ \text{with}\ q,r\ \text{prime}; we see that b 4 b | 4 and a 6 a | 6 , and both a a and b b must be powers of a prime number. This allows for only two solutions of each number: a = 2 a = 2 or 3 3 , and b = 2 b = 2 or 4 4 .

However, since b a = r 6 b^a = r^6 is a sixth power, we need a = 3 a = 3 and b = 4 b = 4 , so that b a = 4 3 = 2 6 b^a = 4^3 = 2^6 .

It follows that τ ( a × b ) = τ ( 2 2 3 1 ) = ( 2 + 1 ) ( 1 + 1 ) = 6 . \tau(a \times b) = \tau(2^2 \cdot 3^1) = (2 + 1)(1 + 1) = \boxed{6}.

Sir, what are the concepts that I need to learn to solve these kind of concepts?

Roland Copino - 3 years, 4 months ago

Log in to reply

This is basic number theory: properties of powers, unique prime factor decomposition , and a nice result on the number of divisors .

Arjen Vreugdenhil - 3 years, 4 months ago

The secret is to think outside the box, being able to use your knowledge in a different way. I am not an expert, but there is a course in Coursera that is helping me a lot with this kind of problem. You should check it out: https://www.coursera.org/learn/mathematical-thinking/

Michael Szerman - 3 years, 4 months ago

Mr. Vreugdenhill, I don't understand how you drew the conclusion presented in the second line from the first statement.

Keertana Pillai - 3 years, 4 months ago

Log in to reply

If a 1 a 2 a n a_1\cdot a_2\cdots a_n is a prime number p p , then precisely one a x = p a_x = p , and all the other a i = 1 a_i = 1 .

If τ ( n ) = ( e 1 + 1 ) ( e 2 + 1 ) ( e n + 1 ) \tau(n) = (e_1 + 1)(e_2+1)\cdots(e_n+1) is a prime number p p , then precisely one e x + 1 = p e_x + 1 = p , and all the other e i + 1 = 1 e_i + 1 = 1 .

If τ ( n ) = ( e 1 + 1 ) ( e 2 + 1 ) ( e n + 1 ) \tau(n) = (e_1 + 1)(e_2+1)\cdots(e_n+1) is a prime number p p , then precisely one e x = p 1 e_x = p - 1 , and all the other e i = 0 e_i = 0 .

This means that n = p 1 0 p 2 0 p x p 1 p n 0 = p x p 1 = : q p 1 n = p_1^0\cdot p_2^0\cdots p_x^{p-1}\cdots p_n^0 = p_x^{p-1} =: q^{p-1} .

Arjen Vreugdenhil - 3 years, 4 months ago

Sir, I don not understand how do you get: a b = q 4 , b a = r 6 a^b=q^4, b^a=r^6

Paola Ramírez - 3 years, 4 months ago

Log in to reply

The fact that a b a^b has precisely five divisors implies that it is the fourth power of a prime number. This follows from the fact that 5 is a prime number and therefore has a unique, trivial decomposition into factors:

5 = τ ( n ) 5 = ( e 1 + 1 ) ( e 2 + 1 ) ( e 3 + 1 ) e x + 1 = 5 for some x ; all other e i + 1 = 1 e x = 4 ; all other e i = 0 n = p 1 0 p 2 0 p x 4 p i 0 n = p x 4 . 5 = \tau(n) \\ 5 = (e_1 + 1)(e_2 + 1)(e_3 + 1)\cdots \\ e_x + 1 = 5\ \text{for some}\ x;\ \text{all other}\ e_i + 1 = 1 \\ e_x = 4;\ \text{all other}\ e_i = 0 \\ n = p_1^0\cdot p_2^0\cdots p_x^4 \cdots p_i^0 \cdots \\ n = p_x^4.

Arjen Vreugdenhil - 3 years, 4 months ago

a > b ( (axb) b ) * b a-b 6 is in between 5 and 7 for a< b (axb) a ) * a b-a the number of divisors are between 5 and 7

Bhagvan Kommadi - 3 years, 4 months ago

I just wanna ask what is the level of this question. I mean I didn't understand the notations used. Moreover, I am the best in mathematics in my class. By the way I am in 9th grade and damn this question seems easy but, it took my ass out.

इश्वर बस्याल - 3 years, 4 months ago

Hi Arjen, I must agree with the other comments. The notation and ideas seem way above a basic level question. Is there any other way to represent the reasoning? I am assuming tau is shorthand for the devisor function. Are divisors always prime? Are you factorising? Is there a wiki page we can refer to?

Danny Robinson - 3 years, 4 months ago

Log in to reply

The one fact you need here is that if the number of divisors is a prime number p p , then the number itself is the ( p 1 ) (p-1) th power of a prime number . There is a wiki page but it's clearly incomplete!

Here is an example of the general formula I posted: 504 = 2 3 3 2 7 1 ; τ ( 504 ) = ( 3 + 1 ) ( 2 + 1 ) ( 1 + 1 ) = 4 3 2 = 24 , 504 = 2^3\cdot 3^2 \cdot 7^1;\ \ \ \ \tau(504) = (3+1)\cdot (2+1)\cdot (1+1) = 4\cdot 3\cdot 2 = 24, showing that 504 has 24 positive divisors. They are 1, 2, 3, 4, 6, 7, 8, 9, 12, 14, 18, 21, 24, 28, 36, 42, 56, 63, 72, 84, 126, 168, 252, 504.

Arjen Vreugdenhil - 3 years, 4 months ago

Hello Sir ! Arjen . How can I set that background or write some statement inside it like aforementioned question? Can you help ? 😊

Naren Bhandari - 3 years, 4 months ago
Timothy Samson
Jan 21, 2018

The only time you can have primes for the amount of divisors is if the number can be expressed as n = x p 1 n = x^{p-1} where x and p are prime

a b = x 4 a^{b} = x^{4}

b a = y 6 b^{a} = y^{6}

After fiddling around with it you get a = 3 a = 3 and b = 4 b = 4

See Arjen Vreugdenhil's answer for a more comprehensive explanation XD

Leonel Castillo
Jan 14, 2018

By the fundamental theorem of arithmetic we can say that a = p i a i , b = q i b i a = \prod p_i^{a_i}, b = \prod q_i ^{b_i} . Then a b = p i b a i , b a = q i a b i a^b = \prod p_i^{ba_i}, b^a = \prod q_i ^{ab_i} . And if we apply the product representation of the divisor function we get the equations ( b a i + 1 ) = 5 , ( a b i + 1 ) = 7 \prod (ba_i + 1) = 5, \prod (a b_i + 1) = 7 . Notice that in either of these products, each term of the product has to be larger than or equal to 2 2 , but the right hand side of the equalities is a prime number, so there can only be one term in each of these products so we only have: b a 1 + 1 = 5 , a b 1 + 1 = 7 ba_1 + 1 = 5, a b_1 + 1 = 7 implying that both a a and b b have only one prime factor. Simplifying these equations we get b a 1 = 4 , a b 1 = 6 b a_1 = 4, a b_1 = 6 .

To solve this system let's substitute in a = p 1 a 1 , b = q 1 b 1 a = p_1^{a_1}, b = q_1^{b_1} and first let's try to solve the first equation: q 1 b 1 a 1 = 4 q_1^{b_1} a_1 = 4 . First, because q 1 q_1 is prime and the right hand side is a 4 = 2 2 4=2^2 , necessarily this prime number has to be q 1 = 2 q_1 = 2 . Now, there are two solutions: q 1 = 2 , b 1 = 2 , a 1 = 1 q_1 = 2, b_1 = 2, a_1 = 1 and q 1 = 2 , b 1 = 1 , a 1 = 2 q_1 = 2, b_1 = 1, a_1 = 2 . Now look at the second equation, p 1 a 1 b 1 = 6 p_1^{a_1} b_1 = 6 . Because the right hand side is square-free, a 1 = 1 a_1 = 1 which then implies q 1 = 2 , b 1 = 2 q_1 = 2, b_1 = 2 so
p 1 = 3 p_1 = 3 .

Finally this implies a = 3 1 = 3 , b = 2 2 = 4 a = 3^{1} = 3, b = 2^{2} = 4 . So the solution is the number of positive divisors of 3 × 4 = 12 3 \times 4 = 12 which is 6.

Surya Subbarao
Jan 27, 2018

Any number with an odd number of divisors must be square. Therefore, we know that both a b a^b and b a b^a are square. Notice that a number can only have $5$ positive divisors if it is in the form of prime number 4 \text{prime number}^4 and can only have $7$ positive divisors if it is in the form prime number 6 \text{prime number}^6 . We first try to see if both a a and b b are prime, but this is impossible because 4 and 6 aren't prime. We then see if one is a prime and the other is a square of a prime. We test a as prime and b as a square of a prime. We get a = 3, b = 4. 3*4=12, and 12 has 6 divisors.

Paul Sinnett
Jan 22, 2018

a a must be greater than 1 since then it would have only 1 divisor. So trying a = 2 a = 2 , b b must be 4 to get 5 divisors, but that didn't produce 7 divisors for b a b ^ a . So I tried a = 3 a = 3 and b = 4 b = 4 and that did work so I only needed to work out the divisors of 12.

How do you know that the only solution for ( a , b ) (a,b) is ( 3 , 4 ) (3,4) ?

Pi Han Goh - 3 years, 4 months ago

I don't. But the question only asked to fill in the blank, which implies there is either only one answer or the other answers give the same result. Perhaps the question could be rephrased?

Paul Sinnett - 3 years, 4 months ago

Log in to reply

Why did you assume that the answer is unique? How would you have phrased it then?

Pi Han Goh - 3 years, 4 months ago

I did it this way too. 3 & 4 are not necessarily the only possible values for a & b, but it works.

Nancy Rose - 3 years, 3 months ago
Ander Ander
Jan 28, 2018

If a b a^b has 5 5 divisors, then it has three divisors different to 1 1 and a b a^b . Since a a is factor of a b a^b (because b 1 b\neq 1 since b a b^a has 7 7 divisors) then a b 1 a^{b-1} is also a factor. The only left factor then is a b 2 a^{\frac{b}{2}} . So we can conclude that

  1. a a is prime
  2. b = 4 b=4

Then we have to find the number a a such 4 a = 2 2 a 4^a=2^{2a} has 7 7 divisors. Since 2 2 is prime, a = 3 a=3 so that 2 a = 6 2a=6 .

Finally, a b = 12 ab=12 which has 6 6 factors

Eric Lucas
Jan 25, 2018

By inspection: tentatively assume a is prime. Then a^4 has 5 positive divisors (1, a, a^2, a^3, and a^4). Then we need to find a s.t. 4^a has 7 divisors. 4^a = 2^2a, which has 7 divisors if a = 3 (1, 2, 4, 8, 16, 32, 64). This meets the assumption that a is prime. 3^4 has 5 divisors, and 4^3 has 7 divisors. 4*3 = 12, which has 6 divisors (1, 2, 3, 4, 6, and 12).

But what if a a is not prime?

Pi Han Goh - 3 years, 4 months ago
Queijo Silva
Jan 25, 2018

Easy Python 3 code:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
def divisors(n):
    divs = []
    for i in range(1, n+1):
        if n % i == 0:
            divs.extend([i])
    return divs


flg = 0
for a in range(1, 20):
    for b in range(1, 20):
        if len(divisors(a**b))==5 and len(divisors(b**a)) == 7:
            flg=1
            break
    if flg == 1:  
        break

print('a = {} and b = {} found.'.format(a, b))
print('Answer: {}×{}={} has {} divisors.'.format(a, b, a*b, len(divisors(a*b))))

Output:

1
2
a = 3 and b = 4 found.
Answer: 3×4=12 has 6 divisors.

Why did you test for 1 a 20 1 \leq a \leq 20 and 1 b 20 1 \leq b \leq 20 only? How do you know that a a and b b must satisfy these inequalities?

Pi Han Goh - 3 years, 4 months ago

Log in to reply

Firstly: Because it is a safe guess. I don't have to deal with numbers with way more divisors, once I've found a smaller solution.

Also, all the numbers such that a b a^b and b a b^a have less than 10 10 divisors are in the specified range. Imagine 2 1 4 21^4 , for example. It has 25 divisors!

Furthermore, you can test it and find that both must be smaller than 12. Our range could be 2 a 11 2 \le a \le 11 and 2 b 11 2 \le b \le 11 . Certainly, if a a or b b disrespect this range (supposing that both are different than 1), there would be a number that has more than 10 divisors (either a b a^b or b a b^a ).

So, in a nutshell, it makes sense to attribute this range.

Queijo Silva - 3 years, 3 months ago
Yash Ghaghada
Jan 24, 2018

If X=(p1)^a(p2)^b......

has no. of divisors (a+1)(b+1)....... as a can be from {0,1,2....,a} that's ( a+1) choices and similarly for b

now for all at a time (intersection=>multiplication)

but 5 can only be 5x1 hence a is a prime number and hence b=4

from b^a=7 we get a=3

so 3x4=12 has 6 divisors

Only perfect squares have an odd number of divisors so 5 and 7 are discarded (because a cannot be equal to b because the result in both cases will have the same amount of divisors), also tells us that both numbers must be even. The resulting number is not prime so it will have at least 4 divisors (1, a , b and a*b). We can check that the numbers are not 2 and four because 2^4 and 4^2 are both 16 with has 5 divisors, so, from the fact that they're even we conclude they have more than 4 divisors, wich leaves only one option, 6.

Good attempt.

However, your logic would be true if we rephrase the line "Fill in the blank:" with "Fill in the blank with one of the following numbers:". How do you know that 4 must be the only answer?

Pi Han Goh - 3 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...