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”).

A084484
a(n) = A007088(A084483(n)).
2
1, 100, 11, 10, 1001, 1100, 111, 10000, 101, 10100, 10011, 110, 11001, 11100, 1111, 1000, 100001, 100100, 1011, 1010, 101001, 101100, 100111, 110000, 1101, 110100, 110011, 1110, 111001, 111100, 11111, 1000000, 10001, 1000100, 1000011, 10010, 1001001, 1001100
OFFSET
1,2
LINKS
FORMULA
a(n) = A007088(n) iff A000120(n) = A070939(n).
MATHEMATICA
s[n_] := s[n] = If[OddQ[n], 2*s[(n - 1)/2] + 1, If[EvenQ[IntegerExponent[n, 2]], n/2, 2*n]]; FromDigits[IntegerDigits[#, 2]]& /@ Array[s, 50] (* Amiram Eldar, Jul 22 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, May 27 2003
STATUS
approved