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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A163809 Write n in binary. Insert a 0 in the middle of each pair of two consecutive 1's. a(n) = the decimal value of the result. 1
 1, 2, 5, 4, 5, 10, 21, 8, 9, 10, 21, 20, 21, 42, 85, 16, 17, 18, 37, 20, 21, 42, 85, 40, 41, 42, 85, 84, 85, 170, 341, 32, 33, 34, 69, 36, 37, 74, 149, 40, 41, 42, 85, 84, 85, 170, 341, 80, 81, 82, 165, 84, 85, 170, 341, 168, 169, 170, 341, 340, 341, 682, 1365, 64, 65, 66, 133 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS a(2n) = A163808(2n). a(2n-1) = A163808(2n-1)/2. LINKS Table of n, a(n) for n=1..67. EXAMPLE 13 in binary is 1101. There is one pair of two consecutive 1's. Insert a 0 between these 1's so as to get 10101. a(13) is the decimal equivalent of 10101, which is 21. CROSSREFS A163808 Sequence in context: A053424 A184617 A290886 * A075771 A370697 A198813 Adjacent sequences: A163806 A163807 A163808 * A163810 A163811 A163812 KEYWORD base,nonn AUTHOR Leroy Quet, Aug 04 2009 EXTENSIONS More terms from Sean A. Irvine, Nov 05 2009 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 July 15 23:38 EDT 2024. Contains 374343 sequences. (Running on oeis4.)