Misleading title for Problem 001
Posted: Sat Jul 24, 2021 8:54 am
Hello,
Problem 001 is titled "Multiples of 3 and 5" but the specifications in the description wants "multiples of 3 or 5".
This seems like a mistake and could be misleading to newcomers trying out Project Euler for their very first time.
Explanation:
15 is a multiple of 3 or 5. In fact, it's a multiple of both 3 and 5 so either ones being true satisfies the logical OR.
meanwhile
10 is also a multiple of 3 or 5, because it's a multiple of 5, so it satisfies the logical OR, but wouldn't satisfy a logical AND.
The title should probably be updated.
Cheers,
nitrix
Problem 001 is titled "Multiples of 3 and 5" but the specifications in the description wants "multiples of 3 or 5".
This seems like a mistake and could be misleading to newcomers trying out Project Euler for their very first time.
Explanation:
15 is a multiple of 3 or 5. In fact, it's a multiple of both 3 and 5 so either ones being true satisfies the logical OR.
meanwhile
10 is also a multiple of 3 or 5, because it's a multiple of 5, so it satisfies the logical OR, but wouldn't satisfy a logical AND.
The title should probably be updated.
Cheers,
nitrix