login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A300855 Inverse of Knuth's base-5 based twisted permutation A220952 of the nonnegative integers. 4
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
A220952(9) = 5, therefore a(5) = 9.
PROG
(PARI) concat(0, Vec(vecsort(A220952, , 1))) \\ where A220952 is a vector of some N initial terms of that sequence without the leading a(0) = 0 (use ...[^1] to exclude the first element if needed) and such that these N values contain exactly all integers from 1 to N, e.g., N = 120.
CROSSREFS
See A220952 for the inverse permutation, A300857 and its inverse A300856 for the base-7 variant.
Sequence in context: A229546 A365574 A343494 * A353164 A333835 A178683
KEYWORD
nonn,look
AUTHOR
M. F. Hasler, Mar 13 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 3 12:13 EDT 2024. Contains 372209 sequences. (Running on oeis4.)