[go: up one dir, main page]

login
A264978
Self-inverse permutation of nonnegative integers: a(n) = A263273(8*n)/8.
9
0, 1, 2, 3, 8, 5, 6, 7, 4, 9, 10, 17, 24, 26, 14, 15, 23, 11, 18, 29, 20, 21, 25, 16, 12, 22, 13, 27, 28, 19, 30, 71, 44, 51, 62, 35, 72, 89, 53, 78, 80, 41, 42, 68, 32, 45, 86, 59, 69, 77, 50, 33, 65, 38, 54, 83, 56, 87, 74, 47, 60, 61, 34, 63, 88, 52, 75, 79, 43, 48, 70, 31, 36, 85, 58, 66, 76, 49, 39, 67, 40, 81
OFFSET
0,3
COMMENTS
Note that n=13 is the first point where this involution does not preserve the parity as a(13) = 26.
FORMULA
a(n) = A263273(8*n)/8.
a(n) = A263272(4*n)/4.
a(n) = A264974(2*n)/2.
Other identities. For all n >= 0:
a(3*n) = 3*a(n).
PROG
(Scheme, three different variants)
(define (A264978 n) (/ (A263273 (* 8 n)) 8))
(define (A264978 n) (/ (A263272 (* 4 n)) 4))
(define (A264978 n) (/ (A264974 (* 2 n)) 2))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 06 2015
STATUS
approved