analysis of math algorithms 2381666