a(n) = floor(a(n-1)/4) if this is positive and not yet in the sequence, otherwise a(n) = 6*a(n-1).

A050112

a(n) = floor(a(n-1)/4) if this is positive and not yet in the sequence, otherwise a(n) = 6*a(n-1).

Terms

    a(0) =1a(1) =6a(2) =36a(3) =9a(4) =2a(5) =12a(6) =3a(7) =18a(8) =4a(9) =24a(10) =144a(11) =864a(12) =216a(13) =54a(14) =13a(15) =78a(16) =19a(17) =114a(18) =28a(19) =7a(20) =42a(21) =10a(22) =60a(23) =15a(24) =90a(25) =22a(26) =5a(27) =30a(28) =180a(29) =45

External references