48 is the smallest number having 10 divisors: 1, 2, 3, 4, 6, 8, 12, 16, 24, and 48.
Find the smallest positive integer n with 2018 divisors.
Give your answer as n m o d 2 0 1 8 .
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.
You should also consider numbers of the form p 2 0 1 7 , which also have 2 0 1 8 divisors. Obviously, 2 2 0 1 7 > 3 × 2 1 0 0 8 , so the choice is not difficult...
A number n is said to be o r d i n a r y if the smallest number with exactly n divisors is p 1 q 1 − 1 ⋅ ⋅ ⋅ p a q a − 1 where q 1 ⋅ ⋅ ⋅ q a is the prime factorization of n and q_{1} \geq ··· \geq q_{a} (and where p k denotes the k th prime)
All s q u a r e − f r e e numbers are o r d i n a r y . Please read this paper
2 0 1 8 is a s q u a r e − f r e e number. Thus, 2 0 1 8 is o r d i n a r y
The prime factorization of
2
0
1
8
is
2
×
1
0
0
9
So, the number
n
we are searching is
2
1
0
0
8
×
3
1
8229186103190533024883904376780813905111588953898498105168002982684296072639509420747763549304544190419927088006808167617437275794116971854836155577368505449421748051065009396803385296687901036962268811893539692787390930893362253485439137750587184318390678894863264384763210110709215529090973953077280768
and... n m o d 2 0 1 8 = 1 0 1 2
Here is a program in M a t h e m a t i c a that works only with o r d i n a r y numbers
n = 2018;
s = Reverse@Flatten[Table @@@ FactorInteger[n]] - 1;
Product[Prime@i^s[[i]], {i, Length@s}]
For example if you input
n
=
8
0
to this program it outputs
1
8
4
8
0
which is
N
O
T
the smallest number with
8
0
divisors.
The smallest number is
1
5
1
2
0
and it gave the wrong anwer because
8
0
is
e
x
t
r
a
o
r
d
i
n
a
r
y
(not
o
r
d
i
n
a
r
y
).
Here is also a video introduction to Highly Composite Numbers by Numberphile
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Euler's Theorem
For a positive integer n = k = 1 ∏ m p k q k , where p k are primes and q k are the respective powers, then the number of factors or divisors are given by σ 0 ( n ) = k = 1 ∏ m ( q k + 1 ) . Then for a number n which has 2018 divisors, we have two cases:
σ 0 ( n ) = 2 0 1 8 = { 2 0 1 7 + 1 2 × 1 0 0 9 Since 2018 has only two prime factors.
Case 1: σ 0 ( n ) = 2 0 1 8 = 2 0 1 7 + 1 = q 1 + 1 ⟹ n = p 1 2 0 1 7 . The smallest n in this case is therefore, when p 1 = 2 and n = 2 2 0 1 7
Case 2: σ 0 ( n ) = 2 0 1 8 = 2 × 1 0 0 9 = ( q 1 + 1 ) ( q 2 + 1 ) = ( 1 + 1 ) ( 1 0 0 8 + 1 ) ⟹ n = p 1 1 × p 2 1 0 0 8 . The smallest n in this case is therefore when p 1 = 3 and p 2 = 2 , that is n = 3 × 2 1 0 0 8 .
Therefore the smallest n = 3 × 2 1 0 0 8 and we need to find 3 × 2 1 0 0 8 m o d 2 0 1 8 . Since g cd ( 2 , 2 0 1 8 ) = 1 , we have to consider the prime factors of 2018 that is 2 and 1009 separately using the Chinese remainder theorem .
Consider prime factor 2: n = 3 × 2 1 0 0 8 ≡ 0 (mod 2) .
Consider prime factor 1009:
n ⟹ n 1 0 0 9 r + 3 ⟹ r ≡ 3 × 2 1 0 0 8 m o d ϕ ( 1 0 0 9 ) (mod 1009) ≡ 3 × 2 1 0 0 8 m o d 1 0 0 8 (mod 1009) ≡ 3 × 2 0 ≡ 3 (mod 1009) ≡ 1 0 0 9 r + 3 ≡ 0 (mod 2) ≡ 1 Since g cd ( 2 , 1 0 0 9 ) = 1 , Euler’s theorem applies. Euler’s totient function ϕ ( 1 0 0 9 ) = 1 0 0 8 where r ∈ N Since n ≡ 0 (mod 2)
Therefore, n ≡ 1 0 0 9 + 3 ≡ 1 0 1 2 (mod 2018) .