0,3

For k>0: a(2^k-1)=k, a(2^k)=k+2;

for k>1: a(2^k+1)=a(3*2^(k-1))=k+2;

for k>0: a(2^k-1)=A078822(2^k-1), a(2^k)=A078822(2^k).

Table of n, a(n) for n=0..75.

Cf. A078825, A078822, A007088.

Sequence in context: A277377 A227741 A059417 * A014685 A239516 A021312

Adjacent sequences: A078821 A078822 A078823 * A078825 A078826 A078827

nonn,base

Reinhard Zumkeller, Dec 08 2002

approved