intermediate results for number 7. Incomplete.