login
A257677
Inverse permutation to A257676.
3
0, 1, 2, 3, 5, 4, 6, 7, 9, 8, 10, 13, 11, 12, 14, 15, 17, 16, 18, 21, 19, 20, 22, 27, 23, 24, 29, 28, 25, 26, 30, 31, 33, 32, 34, 37, 35, 36, 38, 43, 39, 40, 45, 44, 41, 42, 53, 46, 54, 55, 47, 52, 56, 57, 48, 51, 58, 61, 49, 50, 59, 60, 62, 63, 65, 64, 66, 69, 67, 68, 70, 75, 71, 72, 77, 76, 73, 74, 85, 78, 86, 87, 79
OFFSET
0,3
PROG
(Scheme, requiring also defineperm1-macro from Antti Karttunen's IntSeq-library)
;; When A257676 is defined with defineperm1-macro, it will automatically cache also the inverse values, which are then available with negative arguments:
(define (A257677 n) (A257676 (- n)))
CROSSREFS
Inverse: A257676.
Fixed points: A257678.
Sequence in context: A074145 A299237 A257676 * A105363 A279337 A279336
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 04 2015
STATUS
approved