login
A264994
Bijective base-4 reverse: a(0) = 0; for n >= 1, a(n) = A030103(A065883(n)) * A234957(n).
5
0, 1, 2, 3, 4, 5, 9, 13, 8, 6, 10, 14, 12, 7, 11, 15, 16, 17, 33, 49, 20, 21, 37, 53, 36, 25, 41, 57, 52, 29, 45, 61, 32, 18, 34, 50, 24, 22, 38, 54, 40, 26, 42, 58, 56, 30, 46, 62, 48, 19, 35, 51, 28, 23, 39, 55, 44, 27, 43, 59, 60, 31, 47, 63, 64, 65, 129, 193, 68, 81, 145, 209, 132, 97, 161, 225, 196, 113, 177, 241, 80, 69
OFFSET
0,3
COMMENTS
Self-inverse permutation of nonnegative integers.
FORMULA
a(0) = 0; for n >= 1, a(n) = A030103(A065883(n)) * A234957(n).
Other identities. For all n >= 0:
a(4*n) = 4*a(n).
PROG
(Scheme)
(define (A264994 n) (if (zero? n) n (* (A030103 (A065883 n)) (A234957 n))))
CROSSREFS
Cf. A264993 (a(3n)/3), A265335 (a(5n)/5).
Cf. also A057889 (base-2), A263273 (base-3), A264995 (base-5), A264979 (base-9).
Sequence in context: A076134 A239742 A101526 * A331364 A319720 A140298
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Dec 07 2015
STATUS
approved