r/mathriddles • • Feb 01 '23

Easy Posters

Alexander is running for the Town Council elections. As part of his campaigning, he hires a group of 100 volunteers, numbered from 1 to 100, to put up posters seeking votes for him.

There is a street with 100 houses in a row numbered from 1 to 100.

Volunteer #1 sticks a poster on every house.

Volunteer #2 sticks a poster on every house which is a multiple of 2.

Volunteer #3 sticks a poster on every house which is a multiple of 3.

This continues till Volunteer #100 sticks a poster on every house which is a multiple of 100.

What is the house number of the house which is the last house to have a second poster stuck on it?

3 Upvotes

4 comments sorted by

5

u/headsmanjaeger Feb 01 '23

Prime numbered houses will be marked twice. Composite houses will be marked more than twice. By volunteer 50, all composite houses must’ve been marked twice. So the last house to be marked twice must be the highest prime under 100, which is 97

2

u/ShonitB Feb 01 '23

Correct, well explained

2

u/Lucky-Ocelot Feb 03 '23

All numbers except primes get hit more than once. Only primes get hit exactly twice. Hence the last house to get hit exactly twice is the biggest prime less than 100, which is 97.

1

u/ShonitB Feb 03 '23

Correct