repeating arithmetic problems