A300855 Inverse of Knuth's base-5 based twisted permutation A220952 of the nonnegative integers.
0, 1, 2, 3, 4, 17, 16, 15, 14, 5, 18, 11, 12, 13, 6, 19, 10, 9, 8, 7, 20, 21, 22, 23, 24, 97, 96, 95, 94, 85, 48, 49, 50, 51, 84, 47, 54, 53, 52, 83, 46, 55, 56, 57, 82, 37, 36, 35, 34, 25, 98, 91, 92, 93, 86, 43, 66, 65, 64, 79, 44, 61, 62, 63, 80, 45, 60, 59, 58, 81
Offset: 0
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..15624
Crossrefs
Programs
Formula
A220952(9) = 5, therefore a(5) = 9.