A one in seven chance

What is the remainder when 2^{164}is divided by 7?

Problem



What is the remainder when $2^{164}$ is divided by 7?