Skip to content
dronacharya.ai
KVPY 2014MathematicsSingle correct+2 / -0.5

Mathematics, question 90

From KVPY 2014 · Streams SB/SX

Let S={(a,b)∣a,b∈Z, 0≤a,b≤18}S = \{(a, b) \mid a, b \in \mathbb{Z},\ 0 \le a, b \le 18\}. The number of lines in R2\mathbb{R}^2 passing through (0,0)(0, 0) and exactly one other point in SS is

Choose one option
Answer and worked solutionTry it first, then open this to check your working.
Official answerBonus: full marks to everyone

Worked solution

Official key: marks to all.

A line through the origin is determined by a direction (p,q)(p,q) with p,q≥0p, q \ge 0 integers, gcd⁡(p,q)=1\gcd(p,q) = 1. Its points inside SS are (kp,kq)(kp, kq) for k=1,2,…k = 1, 2, \dots, so it contains exactly one other point of SS precisely when
⌊18max⁡(p,q)⌋=1,i.e.10≤max⁡(p,q)≤18.\left\lfloor \frac{18}{\max(p,q)}\right\rfloor = 1, \quad\text{i.e.}\quad 10 \le \max(p,q) \le 18.

For each mm in 10,…,1810,\dots,18 the admissible directions are (m,j)(m, j) and (j,m)(j, m) with 0≤j<m0 \le j < m and gcd⁡(m,j)=1\gcd(m,j) = 1, i.e. 2φ(m)2\varphi(m) of them:
2[φ(10)+⋯+φ(18)]=2(4+10+4+12+6+8+8+16+6)=2⋅74=148.2\big[\varphi(10)+\cdots+\varphi(18)\big] = 2(4+10+4+12+6+8+8+16+6) = 2\cdot 74 = 148.

The answer is 148, and none of the four options (16, 22, 28, 32) is close to it, so IISc credited the question to every candidate.

Practise this topic

Every past question tagged to the same part of the syllabus, with solutions.

full papers
153
questions
13,073
worked solutions
13,054

Sit a paper tonight. See exactly where you stand.

Timed, in the real format, and marked the moment you submit.