1,3

Equally, starting from A025487(n), number of iterations of A329899 needed to reach 1.

Any k > 0 occurs 2^(k-1) times in total in this sequence.

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

a(1) = 0; for n > 1, a(n) = 1 + a(A329904(n)).

a(1) = 0; for n > 1, a(n) = A070939(A329905(n)).

a(n) = A252464(A181815(n)).

For all n >= 1, a(n) >= A061394(n).

(PARI) A329907(n) = if(1==n, 0, 1+A329907(A329904(n)));

(PARI) A329907(n) = #binary(A329905(n));

Cf. A025487, A061394, A070939, A181815, A252464, A329899, A329904, A329905.

Sequence in context: A339731 A234475 A339082 * A329958 A309969 A036041

Adjacent sequences: A329904 A329905 A329906 * A329908 A329909 A329910

nonn

Antti Karttunen, Dec 24 2019

approved