The OEIS is supported by the many generous donors to the OEIS Foundation.

 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 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A124108 Replace each 1 with 10 in binary representation of n. 3
 0, 2, 4, 10, 8, 18, 20, 42, 16, 34, 36, 74, 40, 82, 84, 170, 32, 66, 68, 138, 72, 146, 148, 298, 80, 162, 164, 330, 168, 338, 340, 682, 64, 130, 132, 266, 136, 274, 276, 554, 144, 290, 292, 586, 296, 594, 596, 1194, 160, 322, 324, 650, 328, 658, 660, 1322, 336, 674 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS A070939(a(n)) = A056791(n); A023416(a(n)) = A023416(n) + A000120(n); A000120(a(n)) = A000120(n). LINKS Reinhard Zumkeller, Table of n, a(n) for n = 0..10000 Index entries for sequences related to binary expansion of n MATHEMATICA Table[FromDigits[Flatten[IntegerDigits[n, 2]/.(1->{1, 0})], 2], {n, 0, 60}] (* Harvey P. Dale, May 20 2021 *) PROG (Haskell) a124108 0 = 0 a124108 x = 2 * (b + 1) * a124108 x' + (b * 2) where (x', b) = divMod x 2 -- Reinhard Zumkeller, Mar 31 2015 CROSSREFS Cf. A023416, A000120, A056791, A070939, A048678, A007088. Sequence in context: A227289 A200742 A178729 * A173824 A356603 A097211 Adjacent sequences: A124105 A124106 A124107 * A124109 A124110 A124111 KEYWORD nonn AUTHOR Reinhard Zumkeller, Nov 26 2006 EXTENSIONS Offset fixed by Reinhard Zumkeller, Mar 31 2015 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 9 03:46 EST 2023. Contains 367681 sequences. (Running on oeis4.)