0,2

A. Karttunen, Table of n, a(n) for n = 0..728

Index entries for sequences that are permutations of the natural numbers

a(n) = A037314(A163326(n)) + 3*A037314(A163325(n))

11 in ternary base (A007089) is written as '(000...)102' (... + 0*27 + 1*9 + 0*3 + 2), which results '1020' = 1*27 + 0*9 + 2*3 + 0 = 33, when the odd and even-positioned digits are swapped, thus a(11) = 33.

(Scheme) (define (A163327 n) (+ (A037314 (A163326 n)) (* 3 (A037314 (A163325 n)))))

Cf. A007089, A163328-A163329.

Other bases: A057300, A126006, A217558.

Sequence in context: A199795 A200358 A181099 * A338460 A175032 A078768

Adjacent sequences: A163324 A163325 A163326 * A163328 A163329 A163330

nonn,base,look

Antti Karttunen, Jul 29 2009

Edited by Charles R Greathouse IV, Nov 01 2009

approved