a(n) = floor(a(n-1)/2) if this is positive and not yet in the sequence, otherwise a(n) = 7*a(n-1).
A050012
a(n) = floor(a(n-1)/2) if this is positive and not yet in the sequence, otherwise a(n) = 7*a(n-1).
Terms
- a(0) =1a(1) =7a(2) =3a(3) =21a(4) =10a(5) =5a(6) =2a(7) =14a(8) =98a(9) =49a(10) =24a(11) =12a(12) =6a(13) =42a(14) =294a(15) =147a(16) =73a(17) =36a(18) =18a(19) =9a(20) =4a(21) =28a(22) =196a(23) =1372a(24) =686a(25) =343a(26) =171a(27) =85a(28) =595a(29) =297
External references
- oeis: A050012