cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A165819 a(n) = the smallest positive integer that, when written in binary, contains both binary n and binary 2n-1 as substrings.

Original entry on oeis.org

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
Offset: 1

Views

Author

Leroy Quet, Sep 28 2009

Keywords

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.

Crossrefs

Formula

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

Extensions

More terms from Carl R. White, Oct 06 2009