All Exams Test series for 1 year @ ₹349 only
Question

If the average of 6 positive integers is 45 and the difference between the largest and the smallest of these 6 numbers is 18, what is the maximum value possible for the largest of these 6 integers?

This question was previously asked in
RRB NTPC 2019 CBT 1 Question Paper PDF (31-Jan-2021) (Shift 1)
The correct answer is
$60$

Problem Setup

We are given 6 positive integers. Let these integers be $x_1, x_2, x_3, x_4, x_5, x_6$, ordered such that $x_1 \le x_2 \le x_3 \le x_4 \le x_5 \le x_6$.

Key information provided:

  • The average of the 6 integers is 45.
  • The difference between the largest ($x_6$) and the smallest ($x_1$) is 18. So, $x_6 - x_1 = 18$.
  • All integers are positive, meaning $x_i \ge 1$ for all $i$.

The goal is to find the maximum possible value for the largest integer, $x_6$.

Calculate Sum of Integers

The average is calculated as the sum of numbers divided by the count of numbers. $ \text{Average} = \frac{\text{Sum}}{N} $ Here, Average = 45 and N = 6. $ \text{Sum} = \text{Average} \times N $ $ \text{Sum} = 45 \times 6 = 270 $ So, $x_1 + x_2 + x_3 + x_4 + x_5 + x_6 = 270$.

Formulate Equations and Constraints

We have the following equations and inequalities:

  1. $x_1 + x_2 + x_3 + x_4 + x_5 + x_6 = 270$
  2. $x_6 - x_1 = 18 \implies x_1 = x_6 - 18$
  3. $x_1 \ge 1$ (positive integers)
  4. $x_1 \le x_2 \le x_3 \le x_4 \le x_5 \le x_6$

Strategy for Maximizing the Largest Integer

To maximize $x_6$, we need to minimize the sum of the other integers ($x_1 + x_2 + x_3 + x_4 + x_5$), while satisfying all the constraints.

From constraint (2), $x_1 = x_6 - 18$. Substitute this into the sum equation (1): $ (x_6 - 18) + x_2 + x_3 + x_4 + x_5 + x_6 = 270 $ $ 2x_6 + x_2 + x_3 + x_4 + x_5 = 270 + 18 $ $ 2x_6 + x_2 + x_3 + x_4 + x_5 = 288 $ To maximize $x_6$, we need to minimize the term $x_2 + x_3 + x_4 + x_5$. According to constraint (4), the smallest possible values for $x_2, x_3, x_4, x_5$ occur when they are equal to the smallest number, $x_1$. So, we set $x_2 = x_3 = x_4 = x_5 = x_1$. This means $x_1 = x_2 = x_3 = x_4 = x_5$. The minimum value for this set is $x_1 = x_6 - 18$. Therefore, we set $x_2 = x_3 = x_4 = x_5 = x_6 - 18$.

Solve for the Largest Integer

Substitute $x_1 = x_2 = x_3 = x_4 = x_5 = x_6 - 18$ into the sum equation:

$ 5 \times (x_6 - 18) + x_6 = 270 $ $ 5x_6 - 90 + x_6 = 270 $ $ 6x_6 - 90 = 270 $ $ 6x_6 = 270 + 90 $ $ 6x_6 = 360 $ $ x_6 = \frac{360}{6} $ $ x_6 = 60 $

Verification

Let's check if this value satisfies all conditions:

  • If $x_6 = 60$, then $x_1 = x_6 - 18 = 60 - 18 = 42$.
  • The set of integers becomes $42, 42, 42, 42, 42, 60$.
  • Are they positive integers? Yes, 42 and 60 are positive integers.
  • Is the average 45? Sum = $5 \times 42 + 60 = 210 + 60 = 270$. Average = $270 / 6 = 45$. Yes.
  • Is the difference between the largest and smallest 18? $60 - 42 = 18$. Yes.
  • Are the integers ordered correctly? $42 \le 42 \le 42 \le 42 \le 42 \le 60$. Yes.

All conditions are met. The maximum possible value for the largest integer ($x_6$) is 60.

Was this answer helpful?

Similar Questions

  1. The arithmetic mean of x observations is m. If two observations 0 and m are added, then the new mean will be:
  2. The average of five students in a class test is 39.20 and the average of three of them is 41. What is the average of the remaining two students?
  3. The mean of 20 observations is 22.5. One observation was wrongly noted as $-25$ instead of $25$. The correct mean is:
  4. If the arithmetic mean of 16, 18, 15, 17, p and 14 is 17, then the value of p is:
  5. If each entry of a piece of data is increased by 7, then the arithmetic mean:
  6. 15 years is the average age of 36 boys and their professor. The average becomes 17 years if we leave the professor out. What is the age (in years) of the professor?
  7. The following table shows the production of tomatoes (in tons) for three different states, X, Y and Z, over the years 2016 to 2019. Based on the table answer the question given below.

    Years /States2016 2017 2018 2019 
    X34.25.34.8
    Y55.445.6
    Z4.14.355.6
  8. 10 years ago, the average age of a husband and his wife was 42 years. Now, the average age of the family consisting of the husband, wife and their son is 39 years. The present age of the son is:
  9. The given table shows the number of passengers on an aircraft and their corresponding weight (in kg), for a total of 40 passengers. Answer the question given below based on the table.

    No of passengers4156537
    Weight in kg906075787245


    What is the average weight of all the 40 passengers?
  10. In a class of 100 students, the mean marks obtained in a certain subject is 25 and in another class of 50 students, the mean marks obtained in the same subject is 70. The mean marks obtained by the students of both the classes taken together is:

Important Questions from Average

  1. Find the mean marks of the following distribution.
    Marks obtainedNo. of students
    255
    306
    353
    401
  2. The average of first 169 even numbers is
  3. The average weight (in kg) of a family of five members whose weights are 40 kg, 49 kg, 56 kg, 74 kg and 35 kg is:
  4. The average of first 152 odd natural numbers, is:
  5. The average runs scored by a batsman in 23 matches is 40. In the next 10 matches, the batsman scored an average of 16 runs. Find his average runs scored (rounded off to two decimals) in all the 33 matches.

Need Expert Advice?
Upcoming Exams
RRB Staff Nurse
November 23, 2026
RRB Paramedical
November 23, 2026
Test Series
RRB NTPC img
Railways
RRB NTPC Under Graduate 2026 New Mock Test Series
1612 Tests 1 Tests Free
1334 Attempts
4.3(521)
English, Hindi, Telugu +7 More
More Questions from RRB NTPC

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App