Consider the following for the next two (02) items that follow : Consider the sum S = 0! + 1! + 2! + 3! + 4! +... .+ 100!
If the sum S is divided by 60, what is the remainder ?
34
The problem asks for the remainder when a large sum, \(S = 0! + 1! + 2! + 3! + 4! + \dots + 100!\), is divided by 60. To solve this, we need to understand the concept of factorials and how they behave under modular arithmetic, specifically modulo 60.
Let's calculate the value of the first few terms in the sum S:
We are interested in the remainder when S is divided by 60. This means we need to find S modulo 60. We can find the remainder of each term \(n!\) when divided by 60 and then sum these remainders modulo 60.
Let's find the remainders for the first few factorials:
Now consider \(5!\):
What about \(6!\)?
Notice that \(60 = 5 \times 12\). Also, \(60 = 5 \times 4 \times 3\). For a number to be divisible by 60, it must be divisible by its prime factors \(2^2\), 3, and 5. The number 60 can also be seen as the product of relatively prime numbers like 3, 4, and 5.
Let's look at the prime factors present in \(n!\) as n increases:
The number 60 has prime factors \(2^2\), 3, and 5. We see that \(4!\) has \(2^3\) and 3, but not 5, so it's not divisible by 60. However, \(5!\) contains \(2^3\), 3, and 5 as factors, which is more than enough to be divisible by \(2^2\), 3, and 5. Thus, \(5!\) is divisible by 60.
For any integer \(n\) greater than or equal to 5, \(n!\) can be written as \(n \times (n-1) \times \dots \times 5!\). Since \(5!\) is divisible by 60, any multiple of \(5!\) will also be divisible by 60. Therefore, for all \(n \ge 5\), \(n!\) is divisible by 60, which means \(n! \pmod{60} = 0\).
The sum is \(S = 0! + 1! + 2! + 3! + 4! + 5! + \dots + 100!\).
When finding the remainder of S divided by 60, we can sum the remainders of each term when divided by 60:
$$S \pmod{60} = (0! \pmod{60} + 1! \pmod{60} + 2! \pmod{60} + 3! \pmod{60} + 4! \pmod{60} + 5! \pmod{60} + \dots + 100! \pmod{60}) \pmod{60}$$Using the remainders we found:
$$S \pmod{60} = (1 + 1 + 2 + 6 + 24 + 0 + 0 + \dots + 0) \pmod{60}$$We only need to sum the remainders for terms up to 4!:
$$S \pmod{60} = (1 + 1 + 2 + 6 + 24) \pmod{60}$$ $$S \pmod{60} = (34) \pmod{60}$$ $$S \pmod{60} = 34$$The remainder when S is divided by 60 is 34.
We calculated the remainders of the first few factorials when divided by 60:
| Term | Value | Value mod 60 |
|---|---|---|
| 0! | 1 | 1 |
| 1! | 1 | 1 |
| 2! | 2 | 2 |
| 3! | 6 | 6 |
| 4! | 24 | 24 |
| 5! | 120 | 0 |
| 6! | 720 | 0 |
For \(n \ge 5\), \(n! \pmod{60} = 0\).
The sum modulo 60 is the sum of the first few remainders:
$$S \pmod{60} = (1 + 1 + 2 + 6 + 24) \pmod{60} = 34 \pmod{60} = 34$$The remainder when the sum S is divided by 60 is 34.
This table helps summarize the key steps and values involved in finding the remainder of the sum of factorials when divided by 60.
| Step | Action | Result/Calculation |
|---|---|---|
| 1 | Calculate first few factorials | 0!=1, 1!=1, 2!=2, 3!=6, 4!=24, 5!=120, 6!=720 |
| 2 | Find remainder of first few factorials modulo 60 | 1, 1, 2, 6, 24, 0, 0 |
| 3 | Identify where n! becomes divisible by 60 | For n ≥ 5, n! is divisible by 60 (since 5! = 120 is divisible by 60) |
| 4 | Express S modulo 60 | S mod 60 = (0! mod 60 + ... + 4! mod 60 + 5! mod 60 + ... + 100! mod 60) mod 60 |
| 5 | Simplify the sum modulo 60 | S mod 60 = (1 + 1 + 2 + 6 + 24 + 0 + ... + 0) mod 60 |
| 6 | Calculate the final remainder | S mod 60 = 34 mod 60 = 34 |
Modular arithmetic is a system of arithmetic for integers, where numbers "wrap around" upon reaching a certain value, called the modulus. When we say "a modulo m", we mean the remainder when a is divided by m.
Factorials grow very quickly. \(n!\) is the product of all positive integers up to n. The properties of factorials related to divisibility are important in number theory problems. If a number k is a factor of m, and n is large enough such that \(n!\) contains all prime factors of k with at least the same power as in k, then \(n!\) will be divisible by k.
In this problem, 60 = \(2^2 \times 3 \times 5\). For \(n!\) to be divisible by 60, it must contain factors \(2^2\), 3, and 5. The first factorial that contains a factor of 5 is 5!. Since 5! also contains \(2^2\) (from 4!) and 3, 5! is divisible by 60. Any subsequent factorial, \(n!\) for \(n > 5\), will include 5! as a factor, and thus will also be divisible by 60.
Consider the following statements :
1. (25)! + 1 is divisible by 26
2. (6)! + 1 is divisible by 7
Which of the above statements is/are correct ?
If the sum S is divided by 8, what is the remainder ?
Find the sum of squares of the greatest value and the smallest value of K in the number so that the number 45082K is divisible by 3.
How many composite numbers are there from 53 to 97 ?
Let x be the least number which when subtracted from 10424 gives a perfect square number. What is the least number by which x should be multiplied to get a perfect square?