How many positive integers are divisors of 2 1 ! but are not divisors of 2 0 ! ?
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! One tiny remark, you forgot the − 2 in Eq. 1.
Here are a few numbers which are not factors of 2 0 ! but are factorials of 2 1 !
964467, 1928934, 2250423, 3857868, 4500846, 4822335, 6751269, 7715736, 9001692, 9644670, 10609137, 11252115, 12538071, 13502538, 15431472, 16395939, 18003384, 18324873, 19289340, 21218274
Our instincts tell us that factorizing 2 1 ! and 2 0 ! would be useful. So, with a bit of scratch work, we can see that 2 0 ! = 2 1 8 ⋅ 3 8 ⋅ 5 4 ⋅ 7 2 ⋅ 1 1 ⋅ 1 3 ⋅ 1 7 ⋅ 1 9 2 1 ! = 2 1 8 ⋅ 3 9 ⋅ 5 4 ⋅ 7 3 ⋅ 1 1 ⋅ 1 3 ⋅ 1 7 ⋅ 1 9 2 1 ! / 2 0 ! = 3 ⋅ 7 It's evident that 2 1 ! brings an extra 3 and 7 along with it, so, we can conclude that the proper divisors of 2 1 ! that do not properly divide 2 0 ! have one or both of those extra factors. More specifically, our desired divisors d must be in one of the following three forms: d 1 = 2 a ⋅ 3 9 ⋅ 5 b ⋅ 7 3 ⋅ 1 1 c ⋅ 1 3 d ⋅ 1 7 e ⋅ 1 9 f d 2 = 2 a ⋅ 3 x ⋅ 5 b ⋅ 7 3 ⋅ 1 1 c ⋅ 1 3 d ⋅ 1 7 e ⋅ 1 9 f d 3 = 2 a ⋅ 3 9 ⋅ 5 b ⋅ 7 y ⋅ 1 1 c ⋅ 1 3 d ⋅ 1 7 e ⋅ 1 9 f
where we have non-negative integers
a
,
b
,
c
,
d
,
e
,
f
,
x
,
y
in the following intervals:
a
∈
[
0
,
1
8
]
b
∈
[
0
,
4
]
c
,
d
,
e
,
f
∈
[
0
,
1
]
x
∈
[
0
,
8
]
y
∈
[
0
,
2
]
Now, for the case of d 1 , we can see that there are 1 9 ⋅ 5 ⋅ 2 ⋅ 2 ⋅ 2 ⋅ 2 = 1 5 2 0 such divisors.
In similar suit for d 2 , we can see there are 1 9 ⋅ 9 ⋅ 5 ⋅ 2 ⋅ 2 ⋅ 2 ⋅ 2 = 1 3 6 8 0 such divisors.
And finally, for d 3 , there are 1 9 ⋅ 3 ⋅ 5 ⋅ 2 ⋅ 2 ⋅ 2 ⋅ 2 = 4 5 6 0 such divisors.
All that's left is to sum them up, giving us 1 5 2 0 + 1 3 6 8 0 + 4 5 6 0 = 1 9 7 6 0
this is cool
This is exactly the solution that I had posted earlier, along with proper procedure to deduce a , b , c , d , ⋯ etc.,
The main trick is to find the number of proper factors of 21! That is 60798. Similarly the number of proper factors of 20! Is 41038 Then subtract them to get the answer.
It is well-known that the highest power of p that divide n! is f(n, p) = floor(n/p)+floor(n/p^2)+floor(n/p^3)+.... So
f(20, 2) = 10+5+2+1 = 18,
f(20, 3) = 6+2 = 8,
f(20, 5) = 4,
f(20, 7) = 2,
f(20, 11) = f(20, 13), f(20, 17), f(20, 19) = 1.
Therefore 20! = (2^18)(3^8)(5^4)(7^2) * 11 * 13 * 17 * 19, and since 21! = 20! * 3 * 7, so 21! = (2^18)(3^9)(5^4)(7^3) * 11 * 13 * 17 * 19. It is also well-known that the number of factors of n with prime-factorization n = (p^a)(q^b)(r^c) * ... is g(n) = (a+1)(b+1)(c+1) * .... Therefore the number of proper factors of 21! that are not proper factors of 20! is
[g(21)-2]-[g(20)-2]
= g(21)-g(20)
= (18+1)(4+1)(1+1)^4 * [(9+1)(3+1)-(8+1)(2+1)]
= 19760,
where we subtracted 2 from both g(21) and g(20) above to remove the improper factors.
Problem Loading...
Note Loading...
Set Loading...
First of all, let us see how many factors does any number n have.
If n = p 1 i 1 p 2 i 2 ⋯ p k i k where p 1 , p 2 , ⋯ , p k are the distinct prime factors of n ; then number of factors of n would be
Then any factor of n would be of the form m = p 1 q 1 p 2 q 2 ⋯ p k q k with 0 ≤ q j ≤ i k , ∀ j = 1 ⋯ k
Thus the number of distinct factors of n would be
N ( n ) = j = 1 ∏ k ( i j + 1 ) .
Hence,
N p ( n ) = ( j = 1 ∏ k ( i j + 1 ) ) ...... (Eq. 1)
with each prime p j factor being considered 0 to i j times.
Now, the part to do the prime factorization of n ! .
If there are k prime numbers lesser than or equal to n , then n ! would have those k primes in its prime factorization.
n ! = 2 r 1 3 r 2 ⋯ p k r k
The radix r j is the number of times the prime number p j appears in n ! . This can be easily calculated as
r j = [ p j n ] + [ p j 2 n ] + [ p j 3 n ] + ⋯
From this we can determine that
2 0 ! = 2 ( 1 0 + 5 + 2 + 1 ) 3 ( 6 + 2 ) 5 4 7 2 1 1 1 1 3 1 1 7 1 1 9 1
2 0 ! = 2 1 8 3 8 5 4 7 2 1 1 1 1 3 1 1 7 1 1 9 1
N p ( 2 0 ! ) = 1 9 × 9 × 5 × 3 × 2 × 2 × 2 × 2 = 4 1 0 4 0
and
2 1 ! = 2 ( 1 0 + 5 + 2 + 1 ) 3 ( 7 + 2 ) 5 4 7 3 1 1 1 1 3 1 1 7 1 1 9 1
2 1 ! = 2 1 8 3 9 5 4 7 3 1 1 1 1 3 1 1 7 1 1 9 1
N p ( 2 1 ! ) = 1 9 × 1 0 × 5 × 4 × 2 × 2 × 2 × 2 = 6 0 8 0 0
Further, since 2 1 ! = 2 1 × 2 0 ! , each factor of 2 0 ! is also a factor of 2 1 ! .
So, the required solution would be
N p ( 2 1 ! ) − N p ( 2 0 ! ) = 6 0 8 0 0 − 4 1 0 4 0 = 1 9 7 6 0