login
A234613
Self-inverse permutation of nonnegative integers, "gray-blue" code: a(n) = A193231(A003188(n)).
3
0, 1, 2, 3, 6, 7, 4, 5, 10, 11, 8, 9, 12, 13, 14, 15, 30, 31, 28, 29, 24, 25, 26, 27, 20, 21, 22, 23, 18, 19, 16, 17, 34, 35, 32, 33, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 44, 45, 60, 61, 62, 63, 58, 59, 56, 57, 54, 55, 52, 53, 48, 49, 50, 51, 102, 103, 100
OFFSET
0,3
LINKS
Joerg Arndt, Matters Computational (The Fxtbook), section 1.19 "Invertible transforms on words", pp. 49--55 [Cf. especially the identity 1.19-9d: gB = Bg^{-1} given on page 53].
FORMULA
a(n) = A193231(A003188(n)).
a(n) = A006068(A193231(n)).
a(n) = A193231(A234612(A193231(n))).
PROG
(Scheme)
(define (A234613 n) (A193231 (A003188 n)))
(define (A234613v2 n) (A006068 (A193231 n))) ;; Alternative two.
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 28 2013
STATUS
approved