Hiram B. Judkins, a cattle-dealer of Texas, had five droves of animals, consisting of oxen, pigs, and sheep, with the same number of animals in each drove.
One morning he sold all that he had to eight dealers.
Each dealer bought the same number of animals, paying seventeen dollars for each ox, four dollars for each pig, and two dollars for each sheep; and Hiram received in all three hundred and one dollars.

What is the greatest number of animals he could have had?
And how many would there be of each kind?

See answer

Math Genius