Let D n be the product of all positive divisors of a positive integer n . ( For example, D 1 = 1 and D 4 = 1 × 2 × 4 = 8 . )
What is the smallest positive integer n for which D n can be written as D n = p a × q b × r c × s d , where p , q , r , s are four distinct prime numbers and a , b , c , d are four distinct positive integers?
Bonus 1:
Can you solve this for prime numbers
p
,
q
,
r
,
s
,
t
and integers
a
,
b
,
c
,
d
,
e
?
Bonus 2:
Can you generalize for
p
1
,
.
.
.
,
p
n
,
where all primes in the prime factorization are raised to different powers?
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 explanation. The same way I did it.
And with this explanation bonus 2 is trivial.
This is the same answer that I got. I then thought I misread the question and that caused me to put the answer in wrong.
Oh,I thought that a,b,c,d,p,Q,r,s all are distinct
Log in to reply
same then i came to this solution 11^2 3^6 5^4*7^1 = 385914375
i juat want to mention there is a small problem when n is a square number. In such case, the way you write it does not fit the definition since d=sqrt(n)=n/d will be multiplied twice.
Log in to reply
The formula works for all n , and the proof still works. Try it!
I believe there may be simpler solutions that rely less on the formal theory of arithmetic functions, but here I have found a solution to the general problem that relies on first studying the function D n . In particular, finding out a general formula for D n .
First, by definition D n = ∏ d ∣ n d . Let's for now consider the related arithmetic function, lo g D n = ∑ d ∣ n lo g d . The purpose of this is that the theory of divisor sums is well established so it is always better to relate products to sums. Let's now assume that n = a b with g cd ( a , b ) = 1 . Then lo g D n = lo g D a b = d ∣ a b ∑ lo g d = d ∣ a , e ∣ b ∑ lo g d e = d ∣ a , e ∣ b ∑ lo g d + lo g e = d ∣ a , e ∣ b ∑ lo g d + d ∣ a , e ∣ b ∑ lo g e = τ ( b ) lo g D a + τ ( a ) lo g D b .
In this last step, τ denotes the divisor counting function. This last step is justified because when we split the sum as such, the sums depend only on one of the parameters but we need to add it once for every time that same sum is added again because of the second parameter. With this computation, we finally deduce D a b = e τ ( b ) lo g D a + τ ( a ) lo g D b and simplifying, this just says D a b = ( D a ) τ ( b ) ( D b ) τ ( a ) . This is not quite as simple as multiplicativity, but this identity is interesting enough to inspire us to exploit it. However, we must first discover how we can apply it to the given problem so for now let's study the problem itself:
If D x is going to have only the n prime factors, necessarily x must have just those exact prime divisors. Therefore we can say that our solution will be of the form ∏ i = 1 n p i q i . In this product, all of the distinct primes are obviously relatively prime so this inspires us to apply the previous identity to compute D ∏ i = 1 n p i q i in terms of the D p i q i for this, we will go further and prove the following identity (where all the numbers are relatively prime in pairs):
D a 1 a 2 . . . a n = i = 1 ∏ n D a i ∏ j = 1 , j = i n τ ( a j )
We proceed by induction. We already proved the case n = 2 so let's now assume it works until a given n and with that let's prove it for n + 1 . We have that D a 1 a 2 . . . a n a n + 1 = D ( a 1 . . . a n ) a n + 1 = D a 1 . . . a n τ ( a n + 1 ) D a n + 1 τ ( a 1 . . . a n ) = D a n + 1 τ ( a 1 ) . . . τ ( a n ) ∏ i = 1 n D a i τ ( a n + 1 ) ∏ j = 1 , j = i n τ ( a j ) = ∏ i = 1 n + 1 D a i ∏ j = 1 , j = i n + 1 τ ( a j ) as desired.
Let's now apply this theorem for a i = p i q i which satisfy the condition of relatively prime in pairs because they are all distinct primes. To do this, let's first compute D p i q i = ∏ d ∣ p i q i d = 1 × p i × p i 2 × . . . × p i q i = p i 2 q i ( q i + 1 ) . And, as the known formula tells us, τ ( p i q i ) = q i + 1 . Mixing this together with the previous theorem we can finally compute:
D p 1 q 1 . . . p n q n = i = 1 ∏ n p i 2 q i ( q 1 + 1 ) ( q 2 + 1 ) . . . ( q n + 1 )
Notice that now we have actually proven a complete product formula for the D x in terms of the prime factorization of x . This is always very useful to solve problems like this. Notice that in the exponent of the primes, the only thing that changes is the factor of q i which means that if we want no exponents to be equal then we must have that for i = j , q i = q j . This is the core condition we must follow. Now, to complete the problem lets minimize solutions:
First, notice that we can choose any primes we like so let's choose the smallest primes p 1 = 2 , p 2 = 3 , . . . until p n = the n th prime. We can also choose any exponents, as long as they are all distinct. To minimize we can again choose the smallest exponents, 1 , 2 , . . . , n . We must now assign each exponent to a given prime. To minimize the expression we really should give the smallest exponents to the biggest primes, as the biggest primes dominate. Therefore the solution is p n × p n − 1 2 × . . . × 2 n .
For the case n = 4 this is nothing more than 7 × 5 2 × 3 3 × 2 4 = 7 5 6 0 0 .
If n has a prime factorization with k primes, D n will also have the exact same k primes (but raised to bigger powers, obviously), so we know n has exactly 4 primes. Also, if there are 2 primes raised to the same power in it's factorization, they will also be raised to the same power in the divisor product, as the amount of times a given prime appears in the factorization of some number's divisors doesnt depend on what prime it is. Thus, we know all 4 primes in n are raised to different powers. The smallest number that satisfies those proprieties is 2 4 3 3 5 2 7 . However, there is a bit of hand-waving here, it kind of feels natural that since 7's exponent in n is smaller than 5's exponent, and so on, it will also be like this in D n , but I haven't proved why this is true.
You also have to show that distinct powers in n produce distinct powers in D n ; the symmetry argument only shows that distinct powers in n are necessary but not sufficient. Or at least compute D 7 5 6 0 0 and check the powers are distinct.
Log in to reply
You are correct, it kind of feels natural that, since n's exponent in 7 is smaller than the exponenet in 5, which is smaller then the one in 3, and so on, it will also be like this in D n , but I havent proved that's true, I'll mention it in the solution.
Just use intuition. Different prime numbers, so start small: 2 , 3 , 5 , and 7 . Distinct positive integers: 1 , 2 , 3 , 4 . Searching for smallest positive integer, so put high powers to low base: 2 4 ∗ 3 3 ∗ 5 2 ∗ 7 = 1 6 ∗ 2 7 ∗ 2 5 ∗ 7 = 7 5 6 0 0
Only one link is missing from this: why should the powers of the prime factors of n be distinct? We only know that they are distinct for Dn.
Log in to reply
Apologies, but I don't understand your doubt. The question states that the powers need to be distinct, so we make them as distinct as possible while keeping the value the lowest.
Log in to reply
It's not a doubt, but a missing link from the solution. While it's true, but it's not obvious that having different powers of prime factors of Dn means the powers of the prime factors would be different for n, too. Pedro Cardoso's solution above explains it in the second sentence.
This is the most obvious way to solve it. I really don’t understand the other solutions.
Short and simple.
Write n = p α ⋅ q β ⋅ r γ ⋅ s δ . Then σ ( n ) = ( α + 1 ) ( β + 1 ) ( γ + 1 ) ( δ + 1 ) is the number of divisors of n , and a = 2 1 α ⋅ σ ( n ) , and so on.
The exponents a , … , d are independent of the choice of p , … , s . Therefore we choose the smallest possible prime numbers: p , q , r , s = 2 , 3 , 5 , 7 ; and the exponents different but as small as possible, pairing the greatest exponent with the smallest prime etc.: α , β , γ , δ = 4 , 3 , 2 , 1 . Thus the smallest solution is n = 2 4 ⋅ 3 3 ⋅ 5 2 ⋅ 7 1 = 7 5 6 0 0 , D n = 2 2 4 0 ⋅ 3 1 8 0 ⋅ 5 1 2 0 ⋅ 7 6 0 .
In general, for k terms, let p i be the i th smallest prime number, then n = i = 1 ∏ k p i k − i + 1 , D n = n ( k + 1 ) ! / 2 .
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
|
1 2 3 4 5 6 7 |
|
How do you add code blocks?
Log in to reply
https://brilliant.org/math-formatting-guide/ Look near bottom of section called Markdown Code
Just take the smallest 4 prime numbers and smallest four integers and arrange them in the way where the product is the smallest. In this case the smallest primes are 2,3,5,7 and integers are 1,2,3,4 We know that the product of larger numbers are larger such as 7^4 > 2^4. So we just arrange the primes with power where the largest primes power is the smallest integer. This way the product will be the smallest and the value will be the product of 2^4,3^3,5^2,7^1 which is equal to 75600
Okay from the given conditions, it is clear that the number n is made up of 4 prime nos p , q , r , s
Let the number n = p α q β r γ s δ
now D n is the product of all factors of n . Let us think about that
Now in multiplication of all factors, there are these many elements with base p i.e [ ( p 0 . . . p 0 ) ( p 1 . . . p 1 ) . . . . . ( p α . . . p α ) ] and similarly for q , r and s .
Now note that p 0 , p 1 , . . . , p α occurs ( β + 1 ) ⋅ ( γ + 1 ) ⋅ ( δ + 1 ) times (by counting the remaining possibilities)
now comparing, a = α S , b = β S , c = γ S , d = δ S . Note that they are all different by the terms α , β , γ , δ . So for a , b , c and d to be distinct α , β , γ , δ should be distinct
so now to create minimum n , primes should be 2 , 3 , 5 , 7 and correspondingly our n becomes 2 4 3 3 5 2 7 1 which is equal to 7 5 6 0 0
Similarly we can generalize for more primes
I wrote a mathematica programme to find out n
For[n = 2*3*5*7, n < 100000, n++,
list = FactorInteger[Product[k, {k, Divisors[n]}]];
If[Length[list] == 4,
a = Indexed[Indexed[list, 1], 2];
b = Indexed[Indexed[list, 2], 2];
c = Indexed[Indexed[list, 3], 2];
d = Indexed[Indexed[list, 4], 2];
If[a != b && a != c && a != d && b != c && b != d && c != d, Print[n]];
];
];
which outputs 7 5 6 0 0
or you could run this mathematica code...
Select[Range@100000,Length@Union[Last/@FactorInteger[Times@@Divisors@#]]==4&]
and get the same result but brute force is tough for n=5 and higher...
Haha, I guess that works as well.
Make your friends give you the answer it works all the time LOL
If you have any friends
Problem Loading...
Note Loading...
Set Loading...
Let d ( n ) be the number of divisors of n . Then D n = n d ( n ) / 2 .
Proof: D n 2 = ⎝ ⎛ d ∣ n ∏ d ⎠ ⎞ ⎝ ⎛ d ∣ n ∏ d ⎠ ⎞ = ⎝ ⎛ d ∣ n ∏ d ⎠ ⎞ ⎝ ⎛ d ∣ n ∏ d n ⎠ ⎞ = d ∣ n ∏ n = n d ( n ) .
For the conditions of the problem, D n has the same prime divisors as n , so it must have four distinct prime divisors. The exponents in D n are distinct if and only if the exponents in n are distinct, so we're looking for the smallest number n with four distinct prime divisors with four distinct exponents in the factorization of n . This is clearly 2 4 3 3 5 2 7 = 7 5 6 0 0 . The generalization to more prime divisors is immediately clear.