I have some rabbits and some cages.
If I put 13 rabbits in each cage, one cage is left empty.
If I put 8 rabbits in each cage, 12 rabbits are left uncaged.
How many rabbits do I have?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
x = n u m b e r o f r a b b i t s
y = n u m b e r o f c a g e s
y − 1 x = 1 3 ⟹ 1
y x = 8 + y 1 2 ⟹ 2
Solving for x in terms of y in 1 then substituting to 2 , we have
y 1 3 y − 1 3 = 8 + y 1 2 ⟹ 3
Multiplying 3 by y to remove denominators, we have
1 3 y − 1 3 = 8 y + 1 2
It follows that, y = 5 .
Finally,
x = 1 3 ( 5 ) − 1 3 = 5 2