=========================================================
Explanation:
The LCM of 3 and 5 is 3*5 = 15.
Every 15 days, the two people will swim together on the same day.
And so on.
Keep this process going of adding on 15 to find this sequence
1, 16, 31, 46, 61, 76, ...
We stop the sequence once we either reach 70 or go over it because there are 7*10 = 70 days in ten weeks. This assumes we use a 7 day week rather than a 5 day week.
As shown in bold, there are 5 items smaller than 70. So the two people swam together a total of 5 times
-----------------
Alternatively, you can solve 15n+1 = 70 for n to get n = 4.6 which rounds down to n = 4 to represent the set {0,1,2,3,4} which has 5 items in it to represent the five times total they swim together.
and so on until reaching n = 4 corresponding to day 15(4)+1 = 61.