Placement AptitudeVery hardProduct company OA · CAT level
For how many integers n with 1 ≤ n ≤ 100 is 2ⁿ − n divisible by 5?
- A. 25
- B. 16
- C. 20
- D. 24
Correct answer: C. 20
2ⁿ mod 5 repeats with period 4 (2, 4, 3, 1) and n mod 5 with period 5, so the pair repeats with period 20. For each residue of n mod 4 the required residue of n mod 5 is fixed and never 0, and CRT gives exactly one n in each block of 20: n ≡ 1 (mod 4) and 2 (mod 5) → 17; n ≡ 2, 4 → 14; n ≡ 3, 3 → 3; n ≡ 0, 1 → 16. So 4 values per block of 20 (3, 14, 16, 17) and 4 × 5 = 20 values up to 100. 25 assumes 2ⁿ mod 5 behaves like a random residue hit 'one time in four'; 16 loses a block.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many points with integer coordinates lie strictly inside the triangle with vertices (0, 0), (21, 0) and (0, 15)?
- A solid right circular cone has base radius 6 cm and height 8 cm. The largest possible sphere is placed inside it, touching the base and…
- A milkman buys pure milk at ₹40 per litre, adds water (which costs nothing), and sells the mixture at ₹40 per 'litre' — but his litre…
- The positive integers are written one after another without spaces: 123456789101112131415… What is the 2026th digit of this string?
- For how many integer values of k does the equation |x² − 6x + 5| = k have exactly four distinct real solutions?
- An army convoy 3 km long moves along a straight road at a constant speed. A messenger on a motorcycle starts from the rear of the convoy…