Solution:
Concept: From the cube identities, a3+b3=(a+b)3−3ab(a+b) and a3−b3=(a−b)3+3ab(a−b).
Given: We are told a+b=8 and ab=15.
Step 1 — Choose the identity.
Cubing a+b gives a3+b3+3ab(a+b), so we subtract 3ab(a+b) from (a+b)3.
a3+b3=(a+b)3−3ab(a+b)=83−3×15×8=512−360=152
Check: 5 and 3 have sum 8 and product 15; working with them directly gives the same value.
53+33=125+27=152
Watch out: 83 is 512, not 24 or 64.
Therefore, a3+b3=152.