Let w be a nonreal root of z^3=1. Find the number of ordered pairs (a,b) of integers such that |aw+b|=1.
There are only two: (a,b) = (0,1) and (a,b) = (0,-1).