Skip to main contentSkip to solution

A fruit seller has a stock of mangoes, bananas and apples with at least one fruit of each type. At the beginning of a day, the number of mangoes make up 40%40 \% of his stock. That day, he sells half of the mangoes, 9696 bananas and 40%40 \% of the apples. At the end of the day, he ends up selling 50%50 \% of the fruits. The smallest possible total number of fruits in the stock at the beginning of the day is

Entered answer:

Solution

✅ Correct Answer: 340

Let me break this down using simple variables and logic that's easy to follow.

Let:

  • MM = mangoes at start
  • BB = bananas at start
  • AA = apples at start
  • Total fruits at start = M+B+AM + B + A

Key facts:

  • Mangoes = 40%40\% of total stock
  • He sells: half the mangoes + 9696 bananas + 40%40\% of apples
  • Total sold = 50%50\% of all fruits

Since mangoes are 40%40\% of total stock:

M=0.4×(M+B+A)M = 0.4 \times (M + B + A)

Why do we multiply by 0.40.4? Because 40%=40100=0.440\% = \frac{40}{100} = 0.4

Solving this:

M=0.4M+0.4B+0.4AM = 0.4M + 0.4B + 0.4A

M−0.4M=0.4B+0.4AM - 0.4M = 0.4B + 0.4A

0.6M=0.4(B+A)0.6M = 0.4(B + A)

Let's get rid of decimals by multiplying both sides by 1010:

6M=4(B+A)6M = 4(B + A)

3M=2(B+A)3M = 2(B + A)

3M=2B+2A3M = 2B + 2A


Total sold = 50%50\% of initial stock:

M2+96+0.4A=0.5(M+B+A)\frac{M}{2} + 96 + 0.4A = 0.5(M + B + A)

The left side is what he sold, the right side is 50%50\% of everything.

Expanding the right side:

M2+96+0.4A=0.5M+0.5B+0.5A\frac{M}{2} + 96 + 0.4A = 0.5M + 0.5B + 0.5A

Notice that 0.5M=M20.5M = \frac{M}{2}, so they cancel out:

96+0.4A=0.5B+0.5A96 + 0.4A = 0.5B + 0.5A

96=0.5B+0.5A−0.4A96 = 0.5B + 0.5A - 0.4A

96=0.5B+0.1A96 = 0.5B + 0.1A

Multiply by 1010 to remove decimals:

960=5B+A960 = 5B + A

A=960−5BA = 960 - 5B


From the first equation:

M=2B+2A3M = \frac{2B + 2A}{3}

Substituting A=960−5BA = 960 - 5B:

M=2B+2(960−5B)3=2B+1920−10B3=1920−8B3M = \frac{2B + 2(960 - 5B)}{3} = \frac{2B + 1920 - 10B}{3} = \frac{1920 - 8B}{3}


Total = M+B+AM + B + A

=1920−8B3+B+(960−5B)= \frac{1920 - 8B}{3} + B + (960 - 5B)

=1920−8B+3B+2880−15B3= \frac{1920 - 8B + 3B + 2880 - 15B}{3}

=4800−20B3= \frac{4800 - 20B}{3}

To minimize this total, we need BB to be as large as possible!


We need:

  1. A≥1A \geq 1 (at least one apple): 960−5B≥1→B≤191.8→B≤191960 - 5B \geq 1 \rightarrow B \leq 191.8 \rightarrow B \leq 191
  2. M≥1M \geq 1 (at least one mango): Need to check when we find BB
  3. B≥96B \geq 96 (must sell 9696 bananas, so must have at least 9696)
  4. MM must be a whole number: (1920−8B)(1920 - 8B) must be divisible by 33

For MM to be whole: 1920−8B≡0(mod3)1920 - 8B \equiv 0 \pmod{3}

Since 1920≡0(mod3)1920 \equiv 0 \pmod{3} and 8≡2(mod3)8 \equiv 2 \pmod{3}:

We need 2B≡0(mod3)2B \equiv 0 \pmod{3}, which means B≡0(mod3)B \equiv 0 \pmod{3}

So BB must be divisible by 33.


Largest B≤191B \leq 191 that's divisible by 33: B=189B = 189

Let's check:

  • A=960−5(189)=960−945=15A = 960 - 5(189) = 960 - 945 = 15
  • M=1920−8(189)3=1920−15123=4083=136M = \frac{1920 - 8(189)}{3} = \frac{1920 - 1512}{3} = \frac{408}{3} = 136

Total = M+B+A=136+189+15=340M + B + A = 136 + 189 + 15 = 340

Answer: 340340

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question