Placement AptitudeVery hardInfosys SP · Goldman Sachs aptitude
For how many integers n from 1 to 50 does n NOT divide (n − 1)!?
- A. 15
- B. 17
- C. 16
- D. 19
Correct answer: C. 16
For composite n > 4 both factors of n appear in (n − 1)!, so n divides it. It fails only for the 15 primes up to 50 (Wilson: (n − 1)! ≡ −1 mod n) and for n = 4 (3! = 6): 16 in all, since n = 1 divides 0! = 1. 15 forgets n = 4, 17 also counts n = 1, and 19 wrongly adds 9, 25 and 49, which do divide 8!, 24! and 48!.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- What is the sum of all the odd divisors of 360?
- In a 200 m race, A beats B by 20 m or by 4 seconds. How long does A take to run the race?
- A man's present age is 125% of his age 10 years ago and also 5/6 of his age 10 years from now. What is his present age?
- A 40-litre sugar solution is 20% sugar. How much water must be evaporated to make it a 25% solution?
- Which real values of x satisfy log₂(x − 1) + log₂(x + 1) = 3?
- What is the remainder when 2²⁰²⁶ is divided by 2026? (2026 = 2 × 1013, and 1013 is prime.)