On the distribution of ap k modulo one