Home › UPSC Civil Services Examination › GS Paper II › Q27
Let both p and k be prime numbers such that (p² + k) is also a prime number less than 30. What is the number of possible values o…
Quantitative Aptitude ·Previously asked in UPSC Civil Services Examination 2025
View the full solved paper: GS Paper II
Question
Let both p and k be prime numbers such that (p² + k) is also a prime number less than 30. What is the number of possible values of k?
A. 4B. 5 (Correct answer) C. 6D. 7
Correct Answer Option B — 5
Detailed Solution & Explanation The correct answer is 5 .
Key Points p² + k must be prime and < 30. Try p=2: 4+k < 30 → k < 26. k prime: 2→6(not prime), 3→7(prime✓), 5→9(not prime), 7→11(prime✓), 11→15(not), 13→17(prime✓), 17→21(not), 19→23(prime✓). Try p=3: 9+k<30→k<21. k=2→11(prime✓). k=3→12(no), k=5→14(no), k=7→16(no), k=11→20(no), k=13→22(no), k=17→26(no), k=19→28(no). Try p=5: 25+k<30→k=2→27(no), k=3→28(no). So k values: 3,7,13,19,2 = 5 values. Answer: 5.
Related questions There are four types of weights, namely 1 kg, 2 kg, 5 kg and 10 kg. What is the maximum number of different ways one can measure 20 kg, if at least eight but no — Quantitative Aptitude · UPSC CSE 2026An explosion takes place at a certain distance from an army camp. As soon as the sensor in the camp receives the sound of the explosion, a drone starts flying t — Quantitative Aptitude · UPSC CSE 2026A train has to complete a journey of 800 km. If it meets a minor accident, its speed becomes half of the existing speed. If there is a mechanical defect, the sp — Quantitative Aptitude · UPSC CSE 2026What is the maximum value of n such that 7 × 343 × 385 × 1000 × 2401 × 77777 is divisible by 35ⁿ? — Quantitative Aptitude · UPSC CSE 2025The price (p) of a commodity is first increased by k%; then decreased by k%; again increased by k%; and again decreased by k%. If the new price is q, then what — Quantitative Aptitude · UPSC CSE 2025If x and y are two digits and the number 4x5y790 is divisible by 11, then what is the remainder, if x + y is divided by 11? — Quantitative Aptitude · UPSC CSE 2026