ring and mice

there is a circular ring in which there are 12 black mice and one white mice.a cat walks circularly in the ring and eats every 12th mice.where should the cat start so that the white mouse is the last one 2 be eaten.
shilpi84Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ozoCommented:
The cat should start by eating the mouse 11 before the white mouse
shilpi84Author Commented:
i knew the answer but cud not figure it out so i would be highly grateful if some1 explains how 2 arrive at this solution.
Harisha M GEngineerCommented:
There are 13 mice in total.

Let them be 1 2 3 4 5 6 7 8 9 10 11 12 13

Now, assume that the cat starts from 1..

Remaining are:
2 3 4 5 6 7 8 9 10 11 12 13

The next one is 13 (12 moves forward)
2 3 4 5 6 7 8 9 10 11 12

Next is 2
3 4 5 6 7 8 9 10 11 12

Next is 4
3 5 6 7 8 9 10 11 12

Next is 7
3 5 6 8 9 10 11 12

Next is 11
3 5 6 8 9 10 12

Next is 8
3 5 6 9 10 12

Next is 6
3 5 9 10 12

Next is 10
3 5 9 12

Next is 9
3 5 12

Next is 5
3 12

Next is 3
12


So, if it eats the first mouse, 12th mouse is the last one to be eaten. So, it should start from the mouse which is 11 position before the required (white) mouse.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Puzzles / Riddles

From novice to tech pro — start learning today.