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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A165820 a(n) = the smallest positive integer that, when written in binary, contains both binary n and binary n^2 as substrings. 5
 1, 4, 19, 16, 89, 100, 113, 64, 593, 1380, 377, 400, 425, 452, 481, 256, 4385, 1298, 723, 10640, 5561, 11748, 8471, 18456, 1649, 1700, 729, 1808, 1865, 1924, 1985, 1024, 33857, 9250, 36041, 75024, 5477, 11558, 40433, 83520, 1681, 87780, 22329, 92048 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Rémy Sigrist, Table of n, a(n) for n = 1..10000 FORMULA a(n) = A294977(n, n^2). - Rémy Sigrist, Mar 03 2018 MATHEMATICA f[n_] := Block[{k = 1, is = IntegerString[n, 2], iss = IntegerString[n^2, 2]}, While[ StringPosition[ IntegerString[k, 2], is] == {} || StringPosition[ IntegerString[k, 2], iss] == {}, k++ ]; k]; Array[f, 44] (* Robert G. Wilson v, Oct 02 2009 *) CROSSREFS Cf. A007088, A001737. Cf. A165819, A165821, A165822, A294977. Sequence in context: A009267 A009275 A070612 * A043056 A012879 A072178 Adjacent sequences:  A165817 A165818 A165819 * A165821 A165822 A165823 KEYWORD base,nonn AUTHOR Leroy Quet, Sep 28 2009 EXTENSIONS a(7)-a(44) from Robert G. Wilson v, Oct 02 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.

Last modified January 25 00:44 EST 2022. Contains 350565 sequences. (Running on oeis4.)