Basic arithmetic with applications