Sunday, January 8, 2023

2023/002) A room is empty. Each minute a person enters a room or 2 leave. after exactily $3^{1999}$ minutes can the no of persons be $3^{1000} + 2$

Let persons enter A instances and leave B instances

A+B = $3^{1999}\cdots(1)$

A-B = $3^{1000} + 2\cdots(2)$

Subtracting 2nd from the 1st we get

$3B = 3^{1999} - 3^{1000} - 2$

LHS is multiple of 3 but RHS is not so it is not possible  

No comments: