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.
%I A165821 #12 Mar 03 2018 09:48:09 %S A165821 2,6,11,28,11,13,71,152,151,58,95,101,105,174,47,848,571,978,1075,327, %T A165821 1173,719,1335,1432,1561,1626,827,860,237,241,127,131,4233,139,4501, %U A165821 1175,4765,2467,167,1384,5299,362,703,705,1581,1479,3027,3568,227,229 %N A165821 a(n) = the smallest positive integer that, when written in binary, contains both binary n and the binary representation of the n-th prime as substrings. %H A165821 Rémy Sigrist, <a href="/A165821/b165821.txt">Table of n, a(n) for n = 1..10000</a> %F A165821 a(n) = A294977(n, A000040(n)). - _Rémy Sigrist_, Mar 03 2018 %Y A165821 Cf. A000040, A165819, A165820, A165822, A294977. %K A165821 base,nonn %O A165821 1,1 %A A165821 _Leroy Quet_, Sep 28 2009 %E A165821 More terms from _Carl R. White_, Oct 06 2009