Count of complete evaluations of each mapping in the trajectory of n in the mapping n-> n*3+1 if n is prime, n+1 if n is odd composite, n/2 while n even.

A086763

Count of complete evaluations of each mapping in the trajectory of n in the mapping n-> n*3+1 if n is prime, n+1 if n is odd composite, n/2 while n even.

Terms

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

External references