Suppose a pig pen has p pigs with 2 loops in their tails and q pigs with 3 loops. If p and q are both prime numbers and the total number of loops is equal to 40, how many pigs are in the pen?
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
Cool question, i'll be thinking about it for a couple minutes.
2x + 3y = 40
x -> prime
y -> prime
1,2,3, 5, 7, 11, 13, 17
13*2 + 7*3 = 26+21 no
3*13 + 1*2 = 41 no
11*3 + 2*2 = 33+4 no
11*3 + 3*2 = 33 + 6 = no
7 * 3 + 19. no
5*3 + 25 = no
2*3 + 17*2 = 6 + 34 = 40
2 pigs + 17 pigs = 19 pigs
Ok so my logic after seeing a pattern was using the 3loop pigs to find a prime number they could be multiplied by to get an even number, as any multiple of 2 loop pigs would be even and I need an even answer (odd + even is never even).
So I chose 2, 3 loop pigs for a total of 6 loops. 40 - 6 = 34 loops / 2 = 17 2 loops pigs.
In the end 2, 3 loop pigs + 17, 2 loop pigs = 19 pigs.