Answer:
The minimum possible initial amount of fish:
![52](https://img.qammunity.org/2021/formulas/mathematics/high-school/jf1e3v0zvyad5zbqblmxaedo8ia8gbeje0.png)
Explanation:
Let's start by saying that
= is the initial number of fishes
John:
When John arrives:
- he throws away one fish from the bunch
![x-1](https://img.qammunity.org/2021/formulas/mathematics/high-school/za13p2w62u8wfsrxjbrtwmjqqkdkmtpblv.png)
- divides the remaining fish into three.
![(x-1)/(3) + (x-1)/(3) + (x-1)/(3)](https://img.qammunity.org/2021/formulas/mathematics/high-school/qvnc78pimjp66b2aswzq12fdh1zcptyy8g.png)
- takes a third for himself.
![(x-1)/(3) + (x-1)/(3)](https://img.qammunity.org/2021/formulas/mathematics/high-school/urfm51oetsiesacl0uqs17xpprwrmpe8il.png)
the remaining fish are expressed by the above expression. Let's call it John
![\text{John}=(x-1)/(3) + (x-1)/(3)](https://img.qammunity.org/2021/formulas/mathematics/high-school/r9llg1hc75bgxg0ymwmuvzja6qnno0y3de.png)
and simplify it!
![\text{John}=(2x)/(3) - (2)/(3)](https://img.qammunity.org/2021/formulas/mathematics/high-school/gar5121am60oq5oj01ddymvbijqdsgjq2s.png)
When Joe arrives:
- he throws away one fish from the remaining bunch
![\text{John} -1](https://img.qammunity.org/2021/formulas/mathematics/high-school/biiljm61f2jcxez30k5z4u4djvs3jdjpm8.png)
- divides the remaining fish into three
![\frac{\text{John} -1}{3} + \frac{\text{John} -1}{3} + \frac{\text{John} -1}{3}](https://img.qammunity.org/2021/formulas/mathematics/high-school/q9qqtyvzwphgp60bx5douhguy8uq603b6p.png)
- takes a third for himself.
![\frac{\text{John} -1}{3}+ \frac{\text{John} -1}{3}](https://img.qammunity.org/2021/formulas/mathematics/high-school/a416an49k4d9ulxawzke4wh8yozks3zad6.png)
the remaining fish are expressed by the above expression. Let's call it Joe
![\text{Joe}=\frac{\text{John} -1}{3}+ \frac{\text{John} -1}{3}](https://img.qammunity.org/2021/formulas/mathematics/high-school/h1tqo2g7tzdhf0dukyhdqdeg6etw2rq5kb.png)
and simiplify it
![\text{Joe}=(2)/(3)(\text{John}-1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/smf9juvv17dc69k9w8c4vopezdyfs7yyzb.png)
since we've already expressed John in terms of x, we express the above expression in terms of x as well.
![\text{Joe}=(2)/(3)\left((2x)/(3) - (2)/(3)-1\right)](https://img.qammunity.org/2021/formulas/mathematics/high-school/8v9pb4q4hb52rl2z3q3fmwx413gfs8fha5.png)
![\text{Joe}=(4x)/(9) - (10)/(9)](https://img.qammunity.org/2021/formulas/mathematics/high-school/2ouofn5irztotwyot2u26y739sqljfx6l7.png)
When James arrives:
We're gonna do this one quickly, since its the same process all over again
![\text{James}=\frac{\text{Joe} -1}{3}+ \frac{\text{Joe} -1}{3}](https://img.qammunity.org/2021/formulas/mathematics/high-school/6dokfr5qtbju7c1ebpzw7894vtz3q3kywo.png)
![\text{James}=(2)/(3)\left((4x)/(9) - (10)/(9)-1\right)](https://img.qammunity.org/2021/formulas/mathematics/high-school/1l5fttcovc64lmuik1ev54oytzg4p4lwqn.png)
![\text{James}=(8x)/(27) - (38)/(27)](https://img.qammunity.org/2021/formulas/mathematics/high-school/rd4od8qjhfmd0xukxy6e8bfe1dt8u3zujy.png)
This is the last remaining pile of fish.
We know that no fish was divided, so the remaining number cannot be a decimal number. We also know that this last pile was a multiple of 3 before a third was taken away by James.
Whatever the last remaining pile was (let's say
), a third is taken away by James. the remaining bunch would be
![(n)/(3)+(n)/(3)](https://img.qammunity.org/2021/formulas/mathematics/high-school/aojqpljms1mntehvi62snnq9sdogs94egs.png)
hence we've expressed the last pile in terms of n as well. Since the above 'James' equation and this 'n' equation represent the same thing, we can equate them:
![(n)/(3)+(n)/(3)=(8x)/(27) - (38)/(27)](https://img.qammunity.org/2021/formulas/mathematics/high-school/z0ucx90d8dx37qjkgfo3l9cekq79adqe6g.png)
![(2n)/(3)=(8x)/(27) - (38)/(27)](https://img.qammunity.org/2021/formulas/mathematics/high-school/tjpmdnoxstsbq2ctfpj740tsjlrlb7ho0p.png)
L.H.S must be a Whole Number value and this can be found through trial and error. (Just check at which value of n does 2n/3 give a non-decimal value) (We've also established from before that n is a multiple a of 3, so only use values that are in the table of 3, e.g 3,6,9,12,..
at n = 21, we'll see that 2n/3 is a whole number = 14. (and since this is the value of n to give a whole number answer of 2n/3 we can safely say this is the least possible amount remaining in the pile)
![14=(8x)/(27) - (38)/(27)](https://img.qammunity.org/2021/formulas/mathematics/high-school/baq578z3hnc8sexttkbuoela8u181x1c97.png)
by solving this equation we'll have the value of x, which as we established at the start is the number of initial amount of fish!
![14=(8x)/(27) - (38)/(27)](https://img.qammunity.org/2021/formulas/mathematics/high-school/baq578z3hnc8sexttkbuoela8u181x1c97.png)
![x=52](https://img.qammunity.org/2021/formulas/mathematics/high-school/s9t6fawdao63rrrni6gd8tas3wd9ao6dab.png)
This is minimum possible amount of fish before John threw out the first fish