0,2

Note the indexing: although the domain starts from 0, the range excludes zero.

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

David Newman, et al, New sequences from old, Discussion on SeqFan-mailing list, January 2018.

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(0) = 1; for n > 1, a(n) = A005940(2+A156552(n)).

(Scheme) (define (A297165 n) (if (zero? n) 1 (A005940 (+ 2 (A156552 n)))))

Inverse: A297166.

Cf. A005940, A156552.

Cf. also A297163.

Sequence in context: A023841 A245605 A269863 * A245606 A269864 A103681

Adjacent sequences: A297162 A297163 A297164 * A297166 A297167 A297168

nonn

Antti Karttunen, Jan 05 2018

approved