Start with n, iterate the map k -> A167507(k) until we reach 3, 4, 5 or 6; a(n) = which of 3, 4, 5 or 6 we reach first.

A174987

Start with n, iterate the map k -> A167507(k) until we reach 3, 4, 5 or 6; a(n) = which of 3, 4, 5 or 6 we reach first.

Terms

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

External references