Quantrex Quantrex AcademyJEE · NEET · NDA PYQs with solutions Open app
Olympiad workbook
Exam
Olympiad workbook
Subject
IOQM
Chapter
Quadratic Equation

Olympiad workbook · IOQM · Quadratic Equation

Suppose the prime numbers p and q satisfy q^2+3 p=197 p^2+q . Write...

Suppose the prime numbers pp and qq satisfy q2+3p=197p2+qq^2+3 p=197 p^2+q. Write qp\frac{q}{p} as l+mnl+\frac{m}{n}, where l,m,nl, m, n are positive integers, m<nm < n and GCD⁡(m,n)=1\operatorname{GCD}(m, n)=1. Find the maximum value of l+m+nl+m+n.

Correct answer

32

Step-by-step solution

q2+3p=197p2+q⇒197p2=q(q−1)+3p\begin{aligned} & q^2+3 p=197 p^2+q \\ & \Rightarrow \quad 197 p^2=q(q-1)+3 p \end{aligned} So, q−1=λpq-1=\lambda p ∴197p2=(λ⋅p+1)λp+3p⇒197p=λ2p+λ+3∴p=λ+3197−λ2∴λ=14,p=17⇒q=17×14+1=239\begin{array}{ll} \therefore & 197 p^2=(\lambda \cdot p+1) \lambda p+3 p \\ \Rightarrow & 197 p=\lambda^2 p+\lambda+3 \\ \therefore & p=\frac{\lambda+3}{197-\lambda^2} \\ \therefore & \lambda=14, p=17 \\ \Rightarrow & q=17 \times 14+1=239 \end{array} So, qp=14+117\quad \frac{q}{p}=14+\frac{1}{17} ∴I+m+n=32\therefore \quad I+m+n=32
Practice Quadratic Equation on Quantrex Academy →

More from Quadratic Equation

Let X=\ -5,-4,-3,-2,-1,0,1,2,3,4,5\ and S=\ (a, b) ∈ X × X: x^2+a x+b. and x^3+b x+a have… Olympiad workbookIf x= 2 + 3 + 6 is a root of x^4+a x^3+b x^2+c x+d=0 where a, b, c, d are integers, what… Olympiad workbookSuppose that P is the polynomial of least degree with integer coefficients such that P( 7… Olympiad workbookLet A=\ m: m. an integer and the roots of x^2+m x + 2020 = 0 are positive integers) and… Olympiad workbookLet x, y, z be complex numbers such that aligned & (x)/(y+z)+(y)/(z+x)+(z)/(x+y)=9 &… Olympiad workbookSuppose a, b are positive real numbers such that a a +b b =183, a b +b a =182 . Find… Olympiad workbookLet f(x)=x^2+a x+b . If for all nonzero real x f(x+(1)/(x))=f(x)+f((1)/(x)) and the roots… Olympiad workbookLet t be the area of a regular pentagon with each side equal to 1 . Let P(x)=0 be the… Olympiad workbook Full Quadratic Equation list All Olympiad workbook PYQs