Sneaky snakes

At a recent reptile exhibit at the zoo, snakes and iguanas were on display. Calvin went to the exhibit and counted the number of legs and heads of all the reptiles in the exhibit and all the people visiting the exhibit (including himself). He counted a total of 103 heads and 200 legs. How many different possibilities are there for the number of snakes that could have been in the exhibit?

Details and assumptions

An iguana has 4 legs and 1 head. A snake has 0 legs and 1 head. A person has 2 legs and 1 head.

There is at least 1 snake and 1 iguana in the exhibit. Remember that Calvin is also a person.


The answer is 49.

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.

8 solutions

Darryl Yeo
Sep 30, 2013

How many combinations of iguanas ( i i ) and humans ( h h ) can you have so that there are 200 legs? We can test this by varying i i .

We can write an equation to represent the number of legs:

4 i + 2 h = 200 4i + 2h = 200

And rewrite it so that we can find h h if we know i i :

h = 100 2 i h = 100 - 2i

Now, let's cycle through the different possibilities for i i .

  • i = 1 , i = 1, h = 98 h = 98
  • i = 2 , i = 2, h = 96 h = 96
  • i = 3 , i = 3, h = 94 h = 94

...

  • i = 48 , i = 48, h = 4 h = 4
  • i = 49 , i = 49, h = 2 h = 2

It stops there because the next iguana would make it so that no more humans are in the room, and of course we need to think about our good friend Calvin!

In all of these 49 possible numbers of iguanas, the sum of the iguanas and humans (all of the heads) were less than 103, leaving room for a varying amount of snakes.

Therefore, there are 49 49 possibilities for the number of snakes that our little reptile fan got to see.

Hmm...this is really weird coincidence because when I did this question I was in a rush, and didn't pay attention so I forgot that Calvin was there as well, therefore I was like "Oh 200-4=196 196/4=49 Ok thats the answer. I'm confused if this actually was a legit solution or dumb luck...probably dumb luck.

Daniel Gong - 7 years, 8 months ago

the two eqns can be formed as H=100-2I&s=3+I.so there is atleast one human so maximum iguanas can be 49,and minimum can be zero so total possibilities are 49!!!!!!!!!

Sabyasachi Tewari - 7 years, 8 months ago
Vincent Huang
Sep 30, 2013

We have s+i+p=103 and p+2i=100. Subsituting p+i=100-i gives us s-i=3. Now i can range from 1 to 49, so s ranges from 4 to 52, or 49 possible numbers.

Jayver De Torres
Oct 5, 2013

From the problem above, we can use here algebra to find the possible number of combinations of the snakes, iguanas and people. Let x be the number of snakes, y be the number of iguanas and z be the number of people. Then we can have, x + y + z = 103 and 4y + 2z = 200. From the two equations, we can x - y = 3. We can conlude that the maximum number of iguana in the zoo is 50. But this is impossible so 49 is the maximum number of it. Then if there are 49 iguanas, there are 52 snakes. The minimum number of snakes is 4 so there are 49 different possibilities for the number of snakes.

Jan J.
Oct 2, 2013

Denote the respective numbers of animals/persons by first letter in the name, then 4 i + 2 p = 200 i + s + p = 103 4i + 2p = 200 \\ i + s + p = 103 yielding p = 100 2 i s = 3 + i p = 100 - 2i \\ s = 3 + i Hence s 4 s \geq 4 and i 49 i \leq 49 , i.e. s 52 s \leq 52 , hence there are 52 4 + 1 = 49 52 - 4 + 1 = \boxed{49} possible numbers of snakes.

Let n be the number of people, k be the number of iguanas and m be the number of snakes. Then we have two equations:

2 n + 4 k = 200 2n+4k=200

n + k + m = 103 n+k+m=103

They will give m = k + 3 m=k+3 and n + 2 k = 100 n+2k=100 . We can see that k can have 49 different values (k can only be a whole number not 0 nor 50 (because that means n=0)) which gives n 49 distinct values and also m 49 distinct possible values. Hence the answer 49.

Jamie Coombes
Sep 30, 2013

Let s be the number of snakes, p be the number of people and i be the number of iguanas.

We immediately see that we can form a system of linear equations using the number of heads and number of legs respectively:

s + p + i = 103 s+p+i=103 - heads

2 p + 4 i = 200 2p + 4i = 200 - legs

Now, since both people and iguanas have bilateral symmetry, we can simplify by only considering the left leg.

p + 2 i = 100 p + 2i = 100 - left leg

From the left leg equation, we can see that p must be even, and create a set of tuples T containing all 49 solutions to this equation of the form.

T n = ( p n , i n ) T_n = (p_n,i_n)

T = ( 2 , 49 ) , ( 4 , 48 ) , ( 6 , 47 ) , ( 8 , 46 ) , . . . , ( 98 , 1 ) T = {(2,49),(4,48),(6,47),(8,46), ... ,(98,1)}

T = 49 |T| = 49

Observe that the sum of the elements of each tuple is unique. Each of the 49 tuple element sums p n + i n p_n+i_n gives a unique value of s. Hence, s = 49 s = 49

I dont know th

The meaning of reason why

Ilmiadin Rasyid - 7 years, 8 months ago

T is just a big list with all the possible solutions to the equation. If we look at a single tuple like ( 6 , 47 ) (6,47) , here I am saying p = 6 p=6 and i = 47 i=47 is a solution to p + 2 i = 100 p+2i=100

Does this help?

Jamie Coombes - 7 years, 8 months ago
Sean Elliott
Sep 29, 2013

Since there is at least one each of iguanas, snakes, and people, we subtract 3 3 heads from our total to get 100 100 and 6 6 legs from out total to get 194 194 . We consider the maximum and minimum numbers of extra snakes (ones beyond our original value of 1 1 snake): the minimum is obtained when when we have the maximum number of humans, as then we have the maximum number of heads per leg and thus the fewest needed snakes. To account for all the legs in this way, we need 194 / 2 = 97 194/2=97 people, which means we need 3 3 snakes. For the maximum number of extra snakes, we need the minimum number of heads per leg, which we get by using only iguanas. However, we cannot only have iguanas, as the number of legs ( 194 194 ) is not divisible by 4 4 . The maximum number of iguanas is 194 / 4 = 48 \lfloor 194/4 \rfloor=48 , which means we have 194 192 = 2 194-192=2 legs left over for humans, or 1 1 human. This is a total of 49 49 heads, so we have 51 51 extra snakes. So, our maximum and minimum numbers of extra snakes, respectively, are 3 3 and 51 51 . The total number of different possibilities is thus 51 2 = 49 51-2=\boxed{49} , as long as each solution is valid. We prove this as follows:

Say we have a s s number of extra snakes, thus 100 s 100-s heads and 194 194 legs remaining. Let us first say we have 100 s 100-s humans, so we have 200 2 s 200-2s legs. This takes into account the case where 194 = 200 2 s 194=200-2s , or s = 3 s=3 . Now we consider when 194 200 2 s 194 \neq 200-2s . Our number of legs 200 2 s 194 200-2s \le 194 because s 3 s \ge 3 , so we only need to consider the cases when 200 2 s < 194 200-2s < 194 . Let 200 2 s + x = 194 200-2s+x=194 . It is obvious that x x is even. For each human we replace with an iguana, we add 2 2 to our leg total. So if we replace x 2 \frac{x}{2} humans with iguanas, we add 2 x 2 = x 2\cdot\frac{x}{2}=x legs to our total, meaning our total is equal to 194 194 . This means every possible number of snakes in our previously stated parameters is valid, so we have 49 \boxed{49} as our answer.

hey boss hokum ka ikka boss

robin Singh - 7 years, 8 months ago
Mahbubur Rahman
Feb 17, 2014

Let the number of snake ,iguana and men are S,I,M.

So, we can make two equations:

S+I+M=103--------------------------------------------------------------(1)

2M+4I=200---------------------------------------------------------------(2)

By doing (2)-(1) we get,

S-I=3

the least number of iguana is 1 and so least value of I is 1.

So, * least number of snake is 3+1=4. *

Now we will put I=2,3,4,5,6,7,8,9,----------------------------------------------49.

We will get S=5,6,7,8,9,10,11,12,---------------------------------------------------52.

When I=50 then S=53.

Now** in this case total head of snake and iguana is 53+53=103 which is the total number of heads.

In this case there exists no man.**

But there must be at least a man.

So ,I=50 is not acceptable.

So,we can get total 49 possibilities (4,5,6,7,8,9,10,11,----------------------------------------------52.)

So, we get * 49. *

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...