Find the appearence of number k