What is the unit digit of 795?
Unit digits of powers of 7 repeat in a cycle of 4: 7, 9, 3, 1.
95 ÷ 4 leaves remainder 3, so the unit digit is the 3rd in the cycle: 3.
Shortcut: remainder 0 → take the 4th term of the cycle.
Number System · Exercise 2 of 6
40 medium Number System questions on unit digits and cyclicity, number of factors, trailing zeros, recurring decimals, successive division and counting with inclusion–exclusion. Each answer is explained step by step.
What is the unit digit of 795?
Unit digits of powers of 7 repeat in a cycle of 4: 7, 9, 3, 1.
95 ÷ 4 leaves remainder 3, so the unit digit is the 3rd in the cycle: 3.
Shortcut: remainder 0 → take the 4th term of the cycle.
Find the unit digit of 365 × 659 × 771.
3⁶⁵: cycle 3, 9, 7, 1; 65 mod 4 = 1 → 3.
6⁵⁹: any power of 6 ends in 6.
7⁷¹: cycle 7, 9, 3, 1; 71 mod 4 = 3 → 3.
3 × 6 × 3 = 54 → unit digit 4.
How many factors does 540 have?
540 = 2² × 3³ × 5.
Number of factors = (2 + 1)(3 + 1)(1 + 1) = 3 × 4 × 2 = 24.
What is the sum of all the factors of 120?
120 = 2³ × 3 × 5.
Formula: sum of factors = (1 + 2 + 2² + 2³)(1 + 3)(1 + 5) = 15 × 4 × 6 = 360.
How many zeros are there at the end of 125! (125 factorial)?
Each trailing zero needs a factor 10 = 2 × 5, and 5s are scarcer than 2s.
Number of 5s = ⌊125/5⌋ + ⌊125/25⌋ + ⌊125/125⌋ = 25 + 5 + 1 = 31.
So 125! ends in 31 zeros.
What is the highest power of 3 that divides 100! exactly?
Formula (Legendre): power of prime p in n! = ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + …
⌊100/3⌋ + ⌊100/9⌋ + ⌊100/27⌋ + ⌊100/81⌋ = 33 + 11 + 3 + 1 = 48.
How many numbers from 1 to 300 are divisible by 3 or 5?
Divisible by 3: ⌊300/3⌋ = 100. By 5: ⌊300/5⌋ = 60. By both (15): ⌊300/15⌋ = 20.
Inclusion–exclusion: 100 + 60 − 20 = 140.
How many integers from 1 to 500 are divisible by neither 2 nor 7?
Divisible by 2: 250. By 7: ⌊500/7⌋ = 71. By 14: ⌊500/14⌋ = 35.
Divisible by 2 or 7 = 250 + 71 − 35 = 286.
Neither = 500 − 286 = 214.
What is the smallest natural number that leaves a remainder of 3 when divided by 5 and a remainder of 4 when divided by 7?
Numbers with remainder 4 on division by 7: 4, 11, 18, 25, …
Check each on division by 5: 4 → 4, 11 → 1, 18 → 3 ✔.
The smallest such number is 18 (the next ones are 18 + 35k).
A number leaves a remainder of 39 when divided by 357. What remainder will it leave when divided by 17?
357 = 17 × 21, so the number = 357k + 39 = 17(21k) + 39.
The first part is a multiple of 17; 39 ÷ 17 leaves remainder 5.
Shortcut: when the new divisor is a factor of the old one, divide the old remainder by it.
Timed online tests with instant scores and explanations.