Square Squares!

I'm looking for a positive integer x x with n n positive factors such that the number of positive factors in x 2 x^2 is n 2 . n^2.

One answer is 1.

Are there any other answers?

Yes No

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.

11 solutions

Henry U
Dec 4, 2018

The number of divisors, including 1 and the number itself, of a positive integer with prime factorization

x = p 1 a 1 p 2 a 2 p 3 a 3 p n a n x = p_1^{a_1} \cdot p_2^{a_2} \cdot p_3^{a_3} \cdots p_n^{a_n}

can be calculated with

τ ( x ) = ( a 1 + 1 ) ( a 2 + 1 ) ( a 3 + 1 ) ( a n + 1 ) \tau(x) = \left( a_1+1 \right) \cdot \left( a_2+1 \right) \cdot \left( a_3+1 \right) \cdots \left( a_n+1 \right)

In the factorization of x 2 x^2 , every exponent a i a_i will double. Hence, x 2 x^2 will have

τ ( x 2 ) = ( 2 a 1 + 1 ) ( 2 a 2 + 1 ) ( 2 a n + 1 ) \tau \left( x^2 \right) = \left( 2a_1+1 \right) \cdot \left( 2a_2+1 \right) \cdots \left( 2a_n+1 \right)

divisors. What we want, is ( τ ( x ) ) 2 = τ ( x 2 ) (\tau(x))^2 = \tau \left( x^2 \right) .

( τ ( x ) ) 2 = ( a 1 + 1 ) 2 ( a 2 + 1 ) 2 ( a n + 1 ) 2 = ( a 1 2 + 2 a 1 + 1 ) ( a 2 2 + 2 a 2 + 1 ) ( a n 2 + 2 a n + 1 ) > ( 2 a 1 + 1 ) ( 2 a 2 + 1 ) ( 2 a n + 1 ) = τ ( x 2 ) \begin{aligned} (\tau(x))^2 & = \left( a_1+1 \right)^2 \cdot \left( a_2+1 \right)^2 \cdots \left( a_n+1 \right)^2 \\ & = \left( a_1^2+2a_1+1 \right) \cdot \left( a_2^2+2a_2+1 \right) \cdots \left( a_n^2+2a_n+1 \right) \\ & > \left( 2a_1+1 \right) \cdot \left( 2a_2+1 \right) \cdots \left( 2a_n+1 \right) \\ & = \tau \left( x^2 \right) \end{aligned}

Therefore, they can never be equal and so the answer is No .


To be extra clear, because the problem is very ambiguosly stated and it's easy to get confused:

The blue 2 {\color{#3D99F6}\text{blue } 2} is the number of divisors of the green 2 {\color{#20A900}\text{green } 2} .

2 2 = 4 {\color{#20A900} 2}^2 = {\color{#EC7300} 4}

and 4 {\color{#EC7300} 4} has 3 {\color{#D61F06} 3} divisors, but it should have

2 2 = 4 3 {\color{#3D99F6} 2}^2 = {\color{#3D99F6} 4} \neq {\color{#D61F06} 3} ,

so it doesn't satisfy the condition.

Unless I misunderstood the question: what about 2? If one counts as a factor, as you seem to imply, then 2 has 2 factors.

Kris Hauchecorne - 2 years, 6 months ago

Log in to reply

yeah, that is true, but 2^2 = 4 has only 3 (1,2,4) . It would need to have another factor to be considered.

Kristi Dalipaj - 2 years, 6 months ago

As mentioned, you have slightly misunderstood the question. As you point out, they are including 1 as a factor in the question, but the question is specifically about whether the square of a number has a square of number of factors. For example, 6 has 4 factors under their counting system (1, 2, 3 and 6). Therefore, for 6 to satisfy the equation, 36 (6^2) would have to have 16 (4^2) factors. It doesn't (36 has 9 factors: 1, 2, 3, 4, 6, 9, 12, 18 and 36), so 6 is not a valid x for this equation.

Chris Sparke - 2 years, 6 months ago

2^2=4 does not have 2^2=4 factors.

Tama Dd - 2 years, 6 months ago

I think the problem is very badly phrased. It's not clear if all factors are meant or only prime factors. And why the hell would 1 count as a factor? Then any number has infinitly many factors, because you can just keep adding 1s in the factorization. It doesn't say unique or distinct. How can this get past quality control?

Marcellus Wallace - 2 years, 6 months ago

Log in to reply

I think @Winston Choo should replace factors by divisors to make it clear.

Henry U - 2 years, 6 months ago

Log in to reply

this would be more obvious

abdulaziz samra - 2 years, 6 months ago

Poorly phrased indeed. What about 15? It has 2 prime factors, 3 and 5. The square of 15 is 225 and it has 4 prime factors. That's what I understood from the question.

Ivan L - 2 years, 6 months ago

I agree with you

Hamza Özütürk - 2 years, 6 months ago

You ask "Why would 1 count as a factor?" Why wouldn't it? How would you define 'factor' so the definition didn't include 1? 2 x 3 = 6 and 1 x 6 = 6 so 1,2,3 and 6 are all factors of 6. Even if you defined a factor in terms of some combination of 'prime factors' then 6 still has four factors: (2^1)(3^1)=6, (2^1)(3^0)=2, (2^0)(3^1)=3 and not forgetting (2^0)(3^0)=1

You say "Then any number has infinitely many factors" - No, the number 6 has four factors. 1, 2, 3, 6. You say "because you can just keep adding 1s in the factorization". You are thinking of the reason that 1 is not considered a prime number. The problem as posed is about 'factors' not 'prime factors'. (Though you might want to employ prime factorisation to help solve it.)

Paul Cockburn - 2 years, 5 months ago

I agree this is awfully badly phrased ! Any prime number follows the above definition ! Sorry brilliant but your official answer is wrong.

Guillaume Seguin - 2 years, 5 months ago

Don't prime numbers satisfy this problem? If one is counted as a factor, then 5 could have two factors; 5 and 1. 25, or 5^2 would have 4 factors.

James Turbett - 2 years, 5 months ago

Log in to reply

What are the 4 divisors of 25? I only know 1, 5 and 25. Every prime number has 2 divisors, but its square has 3 divisors. In general, every square number has an odd number of divisors. The solution by Mark Godin makes use of this fact.

Henry U - 2 years, 5 months ago

i dont understand why you all think its badly phrased. If 'a' divides 'n' without leaving any remainder then it is a factor of 'n' , 1 is factor of every number and 'n' is a factor of 'n' Its HCF not HCD

And yes , Thats how i would have explained that. Flawless

V i S i o N . - 2 years, 5 months ago
Mark Godin
Dec 11, 2018

We stipulate that x is a positive integer with n factors, and that x^2 has n^2 factors. x^2 is a perfect square and thus has an odd number of factors. But n^2 odd implies that n is odd, which in turn implies that x is also a perfect square.

Repeating this argument reveals that s q r t ( x ) sqrt(x) also has an odd number of factors, and thus all numbers of the form (sqrt(x))^k, for some k, are integers. Since, in general, we will reach a non-integer with repeated square roots, the only such x which satisfies this condition is 1.

Take care. $ \sqrt x ^k = x^(k/2) $ while you meant $ \sqrt{\sqrt{\dots x}} = x^{2^{-k}} $

Yaël Dillies - 2 years, 6 months ago

I pratically had solved it the same way and i like so much you explanation

Hani Haddad - 2 years, 5 months ago
Mario Egie
Dec 10, 2018

I just thought it logical to be No. There isn't any number outside 1 that would retain it's value after been squared and it's factors will be such that when squared are that number squared itself.

Answer=yes ,because if 1= 1x1 is a solution then x=2 -> 2^2 = 1^2 x 2^2 is also a solution

Johannes-Christian Haas - 2 years, 6 months ago

Log in to reply

The question is talking about the number of factors. 2 has the factors 1 and 2, so it has n=2 factors. 2^2=4 has the factors 1,2, and 4, so it has n=3 factors. Since 3 is not the square of 2, x=2 does not satisfy the condition.

Anindya Mahajan - 2 years, 6 months ago

Log in to reply

This is extremely poorly worded question. I agree with Johannes-Chrisstian Hass, the answer is yes, with x=2

Gene Waldenmaier - 2 years, 6 months ago

Log in to reply

@Gene Waldenmaier I suggest you practice number theory if you want to know why the problem is NOT poorly worded :) https://brilliant.org/courses/basic-number-theory/

Akshay Krishna - 2 years, 6 months ago

I thought the same, but since √2 is not an integer, it cannot be an answer for this problem because we are looking only for integer x to the power of two. I hope it helps you.

Diego Salcedo Tolosa - 2 years, 5 months ago
Caleb Rodrigues
Dec 16, 2018

For any x with n factors, x^2 will result in 2n-1 factors. The problem asks for x^2 to yield n^2 factors, so 2n-1=n^2 Set up the quadratic equation and solve. n^2 - 2n +1 = 0 = (n-1)^2 Therefore, n=1. There is only one number with only 1 factorisation, x=1, so there can be no other x such that x^2 results in n^2 factors.

Ervyn Manuyag
Dec 14, 2018

I tried every other number and it didn’t work

They asked if there were any other answers. No one specified if they had to be correct. My answer is Napoleon, so yes there are other answers. You just don't like, but that's not my fault.

Me Bromkovsky - 2 years, 5 months ago
Vinod Kumar
Dec 10, 2018

Positive factors of number 'x' are given by the prime factorization exponents (ei) and

n= product of (ei+1).

For the square 'x^2' of the number 'x' , positive factors will be equal to product of {2*ei+1} and this can not be made equal to n^2, {for single non-zero 'ei' case}:

(ei+1)^2 is not equal to (2ei+1).

Answer= NO

What about 9? Should the question have said ‘distinct factors’ for clarity

Phil Greene - 2 years, 6 months ago

Log in to reply

For, 9 the value of ei=2, as prime factorization of 9 is 3^2.

Therefore, positive factors of 9 are (1, 3, 9) as ei+1=3 and that of 9^2 are (1, 3, 9, 27, 81) as 2*ei+1=5.

Further, (ei+1)^2=9 is not equal to (2ei+1)=5.

Hope it clarifies?

Answer is valid for any positive number greater than 1.

Vinod Kumar - 2 years, 6 months ago

complicated stuff. Just say no. one is special

The term factor is bad; a mathematician always use the term divisor. Find an integer x with n divisors such that x^2 has n^2 divisors. Only x= 1 works. A prime p has 2 divisors, 1 and p, but p^2 has 3 (not 2^2 = 4) divisors, 1, p and p^2.

Jacques Labelle - 2 years, 5 months ago
Peter Lee
Dec 14, 2018

Let the n factors of x be a 1 , a 2 , a 3 . . . a n a_1,a_2,a_3...a_n (include 1 and x), and let the set of them be A .

Select two factors from A , which we will call a i , a j a_i, a_j ( a i a_i can be equal to a j a_j ). Easy to see that a i a j a_i \cdot a_j is a factor of x 2 x^2 . Also, it's easy to prove that any factor of x 2 x^2 can be constructed in this way.

Since the number of elements in A is n, the number of number pair ( a i , a j ) (a_i,a_j) is then n 2 n^2 .

Yet some pairs are not necessary. e.g, for (1,a) and (a,1), they give out the same factor of x 2 x^2 , which is a. For any integer greater than 1, there must be at least one pair of number like this. Therefore, the number of factors of x 2 x^2 is less than n 2 n^2

James Maybury
Dec 13, 2018

Intuitively the square of a number rises much quicker than the number of factors of a number, you can imagine those two lines plotted on a graph and it is obvious. Checking with the number 2 confirms that even 2² does not have 4 factors and the lines are diverging. Therefore No.

Nikola Georgiev
Dec 12, 2018

If x^2 has n^2 factors, that means that every factor of x is being multiplied by every factor of x (n factors * n factors). However, this leads to duplications, where x1•x2 = x2•x1. This counts as a single factor of x^2 however, meaning n^2 factors is an overestimation. Hence NO.

K T
Dec 15, 2018

Any positive integer x can be written as a prime power product x = p 1 m 1 p 2 m 2 . . p N m N = p i m i x=p_1^{m_1} p_2^{m_2} .. p_N^{m_N}=\prod{p_i^{m_i}} where p i p_i is the i-th prime number and m i m_i is an integer 0 \geq 0 . Since f = p i f i f=\prod{p_i^{f_i}} is a factor of x iff 0 f i m i 0\leq f_i\leq m_i for all i (providing m i + 1 m_i+1 options for each i), the number of factors of x x is σ 0 ( x ) = ( m 1 + 1 ) ( m 2 + 1 ) . . ( m N + 1 ) \sigma_0(x)=(m_1+1)(m_2+1).. (m_N+1) Similarly, the number  of factors of x 2 x^2 is σ 0 ( x 2 ) = ( 2 m 1 + 1 ) ( 2 m 2 + 1 ) . . ( 2 m N + 1 ) \sigma_0(x^2)=(2m_1+1)(2m_2+1).. (2m_N+1)

We are setting σ 0 ( x ) = n \sigma_0(x)=n and σ 0 ( x 2 ) = n 2 \sigma_0(x^2)=n^2 , so that we get two expressions for n 2 n^2 : A : n 2 = ( ( m 1 + 1 ) ( m 2 + 1 ) . . ( m N + 1 ) ) 2 A : n^2=((m_1+1)(m_2+1).. (m_N+1))^2 B : n 2 = ( 2 m 1 + 1 ) ( 2 m 2 + 1 ) . . ( 2 m N + 1 ) B : n^2=(2m_1+1)(2m_2+1).. (2m_N+1) Comparing the factors for m i m_i in both expressions, we see that

  • if m i = 0 m_i=0 then ( m i + 1 ) 2 = 1 = 2 m i + 1 (m_i+1)^2=1=2m_i+1
  • If m i > 0 m_i>0 then ( m i + 1 ) 2 = m i 2 + 2 m i + 1 > 2 m i + 1 (m_i+1)^2=m_i^2+2m_i+1> 2m_i+1 .

The only way to make A and B equal, is to set m i = 0 m_i=0 for all i i , implying x = 1 x=1 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...