ants go marching one by one, when they get tired they shoot themseleves with guns

ants go marching two by two, they all suffocate in a puddle of  wet glue

ants go marching three by three, 2 fall down and one has to pee

ants go marching four by four, 3 get steped on one gets caught in the door

ants go marching five by five, 5 are murdered...how many ants survived?
 
 
 



                                                          ANSWER

Thirty-nine (39) ants survived.

Because it says, for example three by three, it means it is X numbers wide and X number deep. So, All the one by one ants die as do the two by two.  Three by three, which totals 9, has 2 gone. One has too pee but is still there. Out of Four by Four ants, totaling 16, four die off. Leaving 12. Five ants by five ants are 25 ants, 5 are killed. Thus if you add remaining ants you get.....39.
 

 (red ones were killed)

                 2  2                    3  3  3                  4  4  4  4                    5  5  5  5  5
                     2  2                     3  3  3                   4  4  4  4                     5  5  5  5  5
                                                3  3  3                   4  4  4  4                     5  5  5  5  5
                                                                             4  4  4  4                     5  5  5  5  5
                                                                                                                5  5  5  5  5