Given that:
1 0 0 0 ! = 2 a × 3 b × 5 c × 7 d × 1 1 e × 1 3 f × . . .
where a , b , c , d , e , and f are all positive integers, calculate a − b − c + d + e + f .
Note: The equation above is factoring 1 0 0 0 ! , so there are no non-natural numbers appears in this problem.
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.
By using this formula:
n ! = k = 1 ∏ m a p ( k ) i = 1 ∑ ⌊ l o g a p ( k ) n ⌋ ⌊ a p ( k ) i n ⌋
with m is the number of prime number a p in domain [ 2 , n ] , a p ( k ) is the k t h prime in that domain, and n is the positive integer.
Calculation gives a − b − c + d + e + f = 5 9 0 .
Problem Loading...
Note Loading...
Set Loading...
The exponent or power n p of a prime factor p in N ! is given by:
n p ( N ) = k = 1 ∑ ⌊ lo g p N ⌋ ⌊ p k N ⌋
For example,
n 2 ( 1 0 0 0 ) = ⌊ 2 1 0 0 0 ⌋ + ⌊ 4 1 0 0 0 ⌋ + ⌊ 8 1 0 0 0 ⌋ + ⌊ 1 6 1 0 0 0 ⌋ + ⌊ 3 2 1 0 0 0 ⌋ + ⌊ 6 4 1 0 0 0 ⌋ + ⌊ 1 2 8 1 0 0 0 ⌋ + ⌊ 2 5 6 1 0 0 0 ⌋ + ⌊ 5 1 2 1 0 0 0 ⌋ = 5 0 0 + 2 5 0 + 1 2 5 + 6 2 + 3 1 + 1 5 + 7 + 3 + 1 = 9 9 4
In computation, you can take the integer value of the previous term after divided by 2 . For example, ⌊ 2 1 2 5 ⌋ = 6 2 .
Similarly, n 3 ( 1 0 0 0 ) = 4 9 8 , n 5 ( 1 0 0 0 ) = 2 4 9 , n 7 ( 1 0 0 0 ) = 1 6 4 , n 1 1 ( 1 0 0 0 ) = 9 8 , and n 1 3 ( 1 0 0 0 ) = 8 1 . Therefore a − b − c + d + e + f = 5 9 0 .
To do the computation, I used a simple Excel spreadsheet