Start from the singleton set S = {n}, and unless 1 is already a member of S, generate on each iteration a new set where each odd number k is replaced by 3k+1, and each even number k is replaced by 3k+1 and k/2. a(n) is the size of the set after the first iteration which has produced 1 as a member.

A290100

Start from the singleton set S = {n}, and unless 1 is already a member of S, generate on each iteration a new set where each odd number k is replaced by 3k+1, and each even number k is replaced by 3k+1 and k/2. a(n) is the size of the set after the first iteration which has produced 1 as a member.

Terms

    a(0) =1a(1) =2a(2) =12a(3) =3a(4) =8a(5) =23a(6) =381a(7) =5a(8) =73a(9) =12a(10) =187a(11) =47a(12) =39a(13) =786a(14) =537a(15) =8a(16) =109a(17) =124a(18) =2020a(19) =23a(20) =19a(21) =381a(22) =267a(23) =81a(24) =7768a(25) =60a(26) =6061a(27) =73a(28) =1238a(29) =1128

External references