Two identical strings: Difference between revisions

Content added Content deleted
(clarify task description)
Line 2: Line 2:


;Task:
;Task:
Find and display   (here on this page)   positive integers whose base 2 representation is the concatenation of two identical binary strings,
Find and display   (here on this page)   positive integers, n, whose base 2 representation is the concatenation of two identical binary strings,
<br>where &nbsp; <big> '''n''' &nbsp; (in base ten) &nbsp; ''' &lt; &nbsp; 1,000<sub>10</sub>'''</big> &nbsp; &nbsp; &nbsp; (one thousand).
<br>where &nbsp; <big> '''n''' &lt; &nbsp; 1,000<sub>10</sub>'''</big> &nbsp; &nbsp; &nbsp; (one thousand).


For each decimal number, &nbsp; show its decimal form and also its binary form.
For each such integer, show its decimal and binary forms.
<br><br>
<br><br>