1,2

For n > 1, a(n) = the number which is in the same position of array A256997 where n is located in array A246278.

Antti Karttunen, Table of n, a(n) for n = 1..2048

Index entries for sequences that are permutations of the natural numbers

a(1) = 1; for n > 1, if n is even, a(n) = A055938(n/2), otherwise a(n) = A005187(a(A064989(n))).

Other identities: For all n >= 2, a(n) = A256997(A252752(n)).

(Scheme)

(definec (A279337 n) (cond ((= 1 n) n) ((even? n) (A055938 (/ n 2))) (else (A005187 (A279337 (A064989 n))))))

Inverse: A279336.

Cf. A005187, A055938, A064989, A246278, A252752, A256997.

Cf. also A279339 (a variant).

Sequence in context: A257676 A257677 A105363 * A279336 A275375 A225047

Adjacent sequences: A279334 A279335 A279336 * A279338 A279339 A279340

nonn

Antti Karttunen, Dec 10 2016

approved