login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n) = A048724(A065621(n)).
9

%I #12 Jun 30 2022 08:39:41

%S 3,6,9,12,23,18,29,24,43,46,33,36,63,58,53,48,83,86,89,92,71,66,77,72,

%T 123,126,113,116,111,106,101,96,163,166,169,172,183,178,189,184,139,

%U 142,129,132,159,154,149,144,243,246,249,252,231,226,237,232,219,222,209,212,207,202,197,192,323,326,329,332,343,338,349,344,363,366,353

%N a(n) = A048724(A065621(n)).

%H Antti Karttunen, <a href="/A277823/b277823.txt">Table of n, a(n) for n = 1..8192</a>

%H <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>

%F a(n) = A048724(A065621(n)).

%F a(n) = A277320(n,3) = A048720(A065621(n),3).

%o (Scheme)

%o (define (A277823 n) (A048724 (A065621 n)))

%o (define (A277823 n) (A048720bi (A065621 n) 3))

%o (define (A277823 n) (A277320bi n 3))

%o (Python)

%o def A277823(n): return (m:=n^ (n&~-n)<<1)^m<<1 # _Chai Wah Wu_, Jun 29 2022

%Y Cf. A048720, A065621.

%Y Column 2 of A277820.

%Y Column 3 of A277320.

%K nonn,base

%O 1,1

%A _Antti Karttunen_, Nov 01 2016