a(n) = floor(a(n-1)/3) if this is positive and not yet in the sequence, otherwise a(n) = 6*a(n-1).
A050088
a(n) = floor(a(n-1)/3) if this is positive and not yet in the sequence, otherwise a(n) = 6*a(n-1).
Terms
- a(0) =1a(1) =6a(2) =2a(3) =12a(4) =4a(5) =24a(6) =8a(7) =48a(8) =16a(9) =5a(10) =30a(11) =10a(12) =3a(13) =18a(14) =108a(15) =36a(16) =216a(17) =72a(18) =432a(19) =144a(20) =864a(21) =288a(22) =96a(23) =32a(24) =192a(25) =64a(26) =21a(27) =7a(28) =42a(29) =14
External references
- oeis: A050088