Logic puzzles, riddles, math puzzles and brainteasers - pzzls.com

Vandaag is het 22 December 2024

Add using:

Thousand monkeys - math puzzle

Difficulty: 

   Rating: 3.2/5.0

Share this pzzl:  

A very big building in which thousand monkeys are living is lighted by thousand lamps. Every lamp is connected to a unique on/off switch, which are numbered from 1 to 1000. At some moment, all lamps are switched off. But because it is becoming darker, the monkeys would like to switch on the lights. They will do this in the following way.

Monkey 1 presses all switches that are a multiple of 1.
Monkey 2 presses all switches that are a multiple of 2.
Monkey 3 presses all switches that are a multiple of 3.
Monkey 4 presses all switches that are a multiple of 4.
Etc., etc.

How many lamps are switched on after monkey 1000 pressed his switches? And which lamps are switched on?

Answer

31 lamps are switched on. These are lamp 1, 4, 9, 16, 25, ... and 961.