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