Stage 8 - Q10 - 5 marks
18396
Challenge: a row of n joined squares uses \(3n+1\) sticks. A row of m joined triangles uses \(2m+1\) sticks. Find the greatest total below 50 sticks that can make either complete design, and give both row lengths.
Hint
Look for totals that leave remainder 1 on division by both 3 and 2.