"Inverse permutation" to A064537. Limits of the recursion b(i+1)=B_[i](b(i)), where b(0)=n and B_[k](j) = B_[k-1](j) + k, k+1 <= j <= 2k; B_[k](j) = B_[k-1](j) - k, 2k+1 <= j <= 3k; B_[k](j) = B_[k-1](j) otherwise. Set a(n)=0 if b tends to infinity.

A064791

"Inverse permutation" to A064537. Limits of the recursion b(i+1)=B_[i](b(i)), where b(0)=n and B_[k](j) = B_[k-1](j) + k, k+1 <= j <= 2k; B_[k](j) = B_[k-1](j) - k, 2k+1 <= j <= 3k; B_[k](j) = B_[k-1](j) otherwise. Set a(n)=0 if b tends to infinity.

Terms

    a(0) =1a(1) =11a(2) =2a(3) =5a(4) =3a(5) =6a(6) =4a(7) =21a(8) =36a(9) =15a(10) =10a(11) =7a(12) =146a(13) =8a(14) =105a(15) =9a(16) =16a(17) =46a(18) =80a(19) =30a(20) =12a(21) =20a(22) =13a(23) =480a(24) =14a(25) =40a(26) =25a(27) =26a(28) =4340a(29) =17

External references