![]() |
|
|
#1 |
|
Mar 2018
2·5·53 Posts |
which is the smallest even number N (in base 10) such that converted in base 2 contains five 1's?
I guess 94? Last fiddled with by enzocreti on 2019-11-06 at 15:20 |
|
|
|
|
|
#2 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101Γ103 Posts
9,787 Posts |
6210 is 1111102
|
|
|
|
|
|
#3 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
183416 Posts |
N = 2
210 = 1.1111.....2 |
|
|
|
|
|
#4 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
|
|
|
|
|
|
#5 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
183416 Posts |
|
|
|
|
|
|
#6 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
It also didn't say "at least 5 ones".
If I asked for a recipe using 3 eggs, and you gave me a recipe using infinite eggs, I wouldn't find you very helpful. |
|
|
|
|
|
#7 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
183416 Posts |
|
|
|
|
|
|
#8 |
|
"Composite as Heck"
Oct 2017
81410 Posts |
If we're going for pedantry points then you missed negative numbers. Pick a representation of negative numbers in binary, pick a fixed or variable word representation, pick how you define smallest. Naturally you'd think a<b for smallest, but the base 10 specification allows for an interpretation as the least number of digits when written in base 10.
-0 is 11111 in one's complement with a 5 bit word. It's the default winner of "least number of digits when written in base 10". |
|
|
|
|
|
#9 | |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
22·1,549 Posts |
Quote:
![]() But a true pedant might interpret "smallest" to be numerical value. And if we are allowed to twist the definition boolean arithmetic with infinity: "-(β AND (β XOR 1))" has an infinity of 1's with the last digit as 0. Now we just need to define AND and XOR when dealing with infinities. |
|
|
|
|
|
|
#10 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
Reminds me of the programmer who, before he went shopping, was told by his wife: "Buy a loaf of bread and, if they have any eggs, get a dozen." He came back with 12 loaves of bread and no eggs.
|
|
|
|
|
|
#11 |
|
Feb 2017
Nowhere
4,643 Posts |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Smallest 10^179+c Brilliant Number (p90 * p90) | 2147483647 | Factoring | 40 | 2020-12-10 09:06 |
| Could a Distributed Computing approach help find the smallest Brier number? | jasong | Math | 5 | 2007-05-29 13:30 |
| smallest number used in a mathematical proof? | ixfd64 | Lounge | 22 | 2006-02-01 17:06 |
| Can you find the smallest number? | Fusion_power | Puzzles | 8 | 2003-11-18 19:36 |
| Smallest untested number? | wirthi | Math | 10 | 2003-10-05 13:02 |