Problem 53: solved, used Pascal's triangle