general Maths Puzzle

Suppose there are 1000 doors namely D1,D2,D3,...,D1000 and there are 1000 persons namely P1,P2,P3,...,P1000. First P1 opens all the doors. Then P2 closes all even numbered doors. P3 changes every third door (i.e., he closes D3, opens D6 and so on). Similarly Pm changes every mth door. Finally P1000 opens D1000 if it were closed, and closes it if it were open.
At the end how many doors remain open

Read Solution (Total 1)

general Other Question

What numbers should be put instead of question marks:
4, 7, 6, 2, 3, 7, 2, ?, ?.
Find integers a, b and c such that 987654321a + 123456789b + c = (a + b + c)³.There are (at least) 3 solutions with a and b non-zero.