Number of steps to reach the first nonprime (=A075523(n)) starting with the n-th prime p and iterating the map k -> 4*k+(p mod 4), or -1 if no integer is ever reached.

A075522

Number of steps to reach the first nonprime (=A075523(n)) starting with the n-th prime p and iterating the map k -> 4*k+(p mod 4), or -1 if no integer is ever reached.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =3a(4) =3a(5) =2a(6) =1a(7) =2a(8) =1a(9) =1a(10) =2a(11) =2a(12) =1a(13) =1a(14) =2a(15) =1a(16) =2a(17) =1a(18) =3a(19) =1a(20) =2a(21) =1a(22) =1a(23) =1a(24) =2a(25) =1a(26) =1a(27) =2a(28) =1a(29) =1

External references