1,3

Note the indexing: although the domain starts from 1, the range includes also zero.

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

Index entries for sequences related to binary expansion of n

Index entries for sequences that are permutations of the natural numbers

Index entries for sequences computed from indices in prime factorization

a(1) = 0; for n > 1, a(n) = A005940(A156552(n)).

(Scheme) (define (A297166 n) (if (= 1 n) 0 (A005940 (A156552 n))))

Inverse: A297165.

Cf. A005940, A156552.

Cf. also A297164.

Sequence in context: A100882 A171979 A181694 * A297163 A319024 A039260

Adjacent sequences: A297163 A297164 A297165 * A297167 A297168 A297169

nonn

Antti Karttunen, Jan 05 2018

approved