lists-handy arithmetic functions