Problem 20 - factorial digit sum

 - just evaluation 100! directly
 - convert to string and sum digits
Problem 21 - Amicable numbers

 - generate factors of each number up to 10000
 - store sum of factors in table