login
A300856
Inverse of the base-7 based twisted permutation A300857 of the nonnegative integers.
2
0, 1, 2, 3, 4, 5, 6, 37, 36, 35, 34, 33, 32, 7, 38, 19, 20, 21, 22, 31, 8, 39, 18, 25, 24, 23, 30, 9, 40, 17, 26, 27, 28, 29, 10, 41, 16, 15, 14, 13, 12, 11, 42, 43, 44, 45, 46, 47, 48, 289, 288, 287, 286, 285, 284, 259, 108, 109, 110, 111, 112, 113, 258, 107, 126, 125
OFFSET
0,3
EXAMPLE
A300857(37) = 7, therefore a(7) = 37.
PROG
(PARI) vecsort(A300857, , 1) \\ where A300857 is a vector of some N initial terms of that sequence without the leading a(0) = 0 and such that these N values contain exactly all integers from 1 to N, e.g., N = 300.
CROSSREFS
Cf. A300857 (inverse); A300855 = inverse of Knuth's original base-5 analog A220952.
Sequence in context: A178579 A347308 A237343 * A173575 A024641 A250262
KEYWORD
nonn
AUTHOR
M. F. Hasler, Mar 13 2018
STATUS
approved