I'm looking for a positive integer x with n positive factors such that the number of positive factors in x 2 is n 2 .
One answer is 1.
Are there any other answers?
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.
Unless I misunderstood the question: what about 2? If one counts as a factor, as you seem to imply, then 2 has 2 factors.
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.
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.
2^2=4 does not have 2^2=4 factors.
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?
Log in to reply
I think @Winston Choo should replace factors by divisors to make it clear.
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.
I agree with you
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.)
I agree this is awfully badly phrased ! Any prime number follows the above definition ! Sorry brilliant but your official answer is wrong.
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.
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.
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
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 ) 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}} $
I pratically had solved it the same way and i like so much you explanation
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
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.
Log in to reply
This is extremely poorly worded question. I agree with Johannes-Chrisstian Hass, the answer is yes, with x=2
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/
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.
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.
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.
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
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.
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.
Let the n factors of x be 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 can be equal to a j ). Easy to see that a i ⋅ a j is a factor of x 2 . Also, it's easy to prove that any factor of 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 ) is then 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 , 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 is less than n 2
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.
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.
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 where p i is the i-th prime number and m i is an integer ≥ 0 . Since f = ∏ p i f i is a factor of x iff 0 ≤ f i ≤ m i for all i (providing m i + 1 options for each i), the number of factors of x is σ 0 ( x ) = ( m 1 + 1 ) ( m 2 + 1 ) . . ( m N + 1 ) Similarly, the number of factors of x 2 is σ 0 ( x 2 ) = ( 2 m 1 + 1 ) ( 2 m 2 + 1 ) . . ( 2 m N + 1 )
We are setting σ 0 ( x ) = n and σ 0 ( x 2 ) = n 2 , so that we get two expressions for n 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 ) Comparing the factors for m i in both expressions, we see that
The only way to make A and B equal, is to set m i = 0 for all i , implying x = 1 .
Problem Loading...
Note Loading...
Set Loading...
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
can be calculated with
τ ( x ) = ( a 1 + 1 ) ⋅ ( a 2 + 1 ) ⋅ ( a 3 + 1 ) ⋯ ( a n + 1 )
In the factorization of x 2 , every exponent a i will double. Hence, x 2 will have
τ ( x 2 ) = ( 2 a 1 + 1 ) ⋅ ( 2 a 2 + 1 ) ⋯ ( 2 a n + 1 )
divisors. What we want, is ( τ ( x ) ) 2 = τ ( x 2 ) .
( τ ( 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 )
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 is the number of divisors of the green 2 .
2 2 = 4
and 4 has 3 divisors, but it should have
2 2 = 4 = 3 ,
so it doesn't satisfy the condition.