login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165819 a(n) = the smallest positive integer that, when written in binary, contains both binary n and binary 2n-1 as substrings. 5
1, 6, 11, 28, 37, 22, 29, 120, 137, 83, 43, 92, 205, 59, 61, 496, 529, 291, 595, 167, 169, 86, 183, 376, 793, 410, 437, 220, 925, 123, 125, 2016, 2081, 1091, 2211, 583, 293, 1227, 2471, 2536, 2601, 339, 171, 2796, 729, 366, 751, 1520, 3121, 1586, 1637, 1652 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

If a(n) in binary was instead to contain binary n and binary 2n+1 as substrings, then a(n) would = 2n+1 for all n.

LINKS

Rémy Sigrist, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = A294977(n, 2*n-1). - Rémy Sigrist, Mar 03 2018

CROSSREFS

Cf. A165820, A165821, A165822, A294977.

Sequence in context: A273608 A273681 A273705 * A087737 A273328 A273423

Adjacent sequences:  A165816 A165817 A165818 * A165820 A165821 A165822

KEYWORD

base,nonn

AUTHOR

Leroy Quet, Sep 28 2009

EXTENSIONS

More terms from Carl R. White, Oct 06 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 26 10:12 EDT 2019. Contains 324375 sequences. (Running on oeis4.)