add coprime
update list-max from foldl to argmax