Question
Three distinct prime numbers 'p', 'q', and 'r' satisfy
(p < q < r). The sum of 'p' and 'q' is 20, and the sum of 'q' and 'r' is 30. Calculate the total of the squares of all three numbers.Solution
ATQ,
p + q = 20 Case 1: Prime numbers whose sum is 20 are 7 and 13. It is given that q > p. So, q = 13 p = 20 - 13 = 7 Now, q + r = 30 So, r = 30 - 13 = 17 Case 2: Prime numbers whose sum is 20 are 3 and 17. It is given that q > p. So, q = 17 p = 20 - 17 = 3 Now, q + r = 30 So, r = 30 - 17 = 13, which is not valid because r must be greater than q (not true here). Hence, required sum = 7² + 13² + 17² = 49 + 169 + 289 = 507
If FOUR is coded as 9999, then DEAD will be coded as
If āEarthā is called as āMarsā, āMarsā is called as āVenusā, and āVenusā is called as āJupiterā, then, which planet is known as...
a certain code language, āMACHINESā is written as āHCAMSENIā. How will āPARALLELā be written in that language?
In a certain language, 'number digit' is written as 'sc gn', 'word number vowel' is written as 'qw gn ac', 'five word' is written as 'yh qw'. How is 'v...
What is the code for āOthersā in the given code language?
What is the code for āOthersā in the given code language?
In a certain coding system, 'stories editor learner' is coded as '187'. 'pages newspaper learner' is coded as '657' and 'editor program newspaper' is c...
In a certain code language, ‘PORTION’ is coded as ‘ 13-12-15-17-6-12-11’. How will ‘HELIUM’ be coded as in that lang...
What is the possible code for āgreat furphyā?
In a certain code COUNTERS is written as ‘OVPDRQDS’. How is CLEARING written in that code?