login
A246166
Inverse permutation to sequence A246165.
2
1, 2, 4, 3, 8, 6, 5, 16, 12, 10, 7, 9, 32, 24, 20, 14, 11, 18, 15, 64, 48, 40, 13, 28, 22, 36, 30, 21, 17, 27, 25, 128, 96, 26, 19, 80, 56, 44, 72, 60, 23, 42, 34, 33, 54, 50, 35, 256, 45, 192, 29, 38, 52, 160, 112, 88, 144, 39, 31, 120, 46, 84, 68, 66, 108, 100, 37, 70, 55, 49, 512, 63, 51, 90, 58, 384, 41
OFFSET
1,2
PROG
(Scheme, requiring also defineperm1-macro from Antti Karttunen's IntSeq-library)
;; When A246165 is defined with defineperm1-macro, it will automatically cache also the inverse values, which are then available with negative arguments. Values of A246165 have to be computed first, for up to some value, before this can be used:
(define (A246166 n) (A246165 (- n)))
CROSSREFS
Inverse: A246165.
Similar permutations: A119436, A126918.
Sequence in context: A333484 A334434 A333485 * A334437 A264802 A243493
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 17 2014
STATUS
approved