19

Can you use the digits 2, 0, 1 and 7 each only once to create the number 88?

Beastly Gerbil
  • 58,036
  • 8
  • 166
  • 314
Katakato
  • 265
  • 2
  • 5

17 Answers17

60

What about this

$\left(\frac{0!}{.\overline1}\right)^2 + 7 = 88$

where

$.\overline1 = 0.1111\ldots$

hexomino
  • 135,910
  • 10
  • 384
  • 563
53

No rules?

enter image description here

Looks like 88 to me if I squint.

Andrew Morton
  • 667
  • 4
  • 5
33

Because modern math is done with computers, here's some Python:

>>> int(str(0 + 1 + 7) * 2)
88
Alex H.
  • 447
  • 3
  • 3
26

For that matter:

In base 86: $12 + 0*7$

Melkor
  • 2,232
  • 1
  • 11
  • 31
Bob DeMattia
  • 393
  • 2
  • 3
  • 31
    This does answer the question. In base 86 the numerals 12 = 88 in base 10. Adding the 0*7 in just a cheeky way of disposing of two useless numbers. How do I create 88 from 1, 2, 0 and 7? Change the base! – EvSunWoodard Feb 03 '17 at 20:20
  • 4
    In base 86, the number OP asked for doesn't exist. So no, it doesn't answer the question. – Josh Part Feb 03 '17 at 21:23
  • 11
    @Josh Sure it does. 88 base 10 = 12 base 86, which Bob used. Or, the other way around 88 base 86 = 696 base 10. – Graipher Feb 03 '17 at 22:46
  • Here is a good example of where the question asked needs to have proper constraints. I see another answer which involved changing the base. And to take the unconstrained problem one step further, someone even suggested that superimposing 1 over 2, and 7 over zero looks like 88. In my own defense, no one would argue that 0xf is 15. I don't see how saying "12 base 86 is 88" is any different. – Bob DeMattia Feb 06 '17 at 02:34
  • @BobDeMattia Really? Because the only information I can find on 0xf is that it's the number 15. – JMac Feb 06 '17 at 13:06
  • This answer uses 8 and 6... – M.Herzkamp Feb 06 '17 at 16:00
  • @JMac That's what I said! – Bob DeMattia Feb 06 '17 at 19:37
21

If floor were allowed, then this works:

$\left\lfloor\sqrt{10!!}\right\rfloor + 27 $

because

$10!!$ is $10\cdot 8\cdot 6\cdot 4\cdot 2 = 3840 $
$\sqrt{3840} = 61.9677335393\cdots.$

Ankoganit
  • 18,612
  • 3
  • 74
  • 133
Matt
  • 10,908
  • 2
  • 42
  • 78
12

The only digits used here are 2,0,1,7 to reach 88:

$(\textbf{10}+(i\times i))^\bf2\rm+\bf7 = 88$

Rubio
  • 41,676
  • 6
  • 90
  • 242
  • 4
    With this you could literally make any number though. Start at some number and add any amount of i^4 as required. – orlp Feb 05 '17 at 19:13
11

We can do it without the $0$...

$S=\{1,2,7\}$

$(\sum{S}-|S|)\times\prod{S}-\sum{S}$

(using the sum, $\sum$, cardinality, $||$, and product,$\prod$, of the set $S$.)

Evaluated:
$=(10-3)\times 14-10$
$=7\times 14-10$
$=98-10$
$=88$

So, obviously we could just add zero afterwards.

Mind you, I suppose that we could also do it with just one of the numbers in that case too.

$S = \{x\}$

$(|S|+|S|+|S|+|S|+|S|+|S|+|S|+|S|+|S|+|S|+|S|)\times(|S|+|S|)\times(|S|+|S|)\times(|S|+|S|)$
$=(1+1+1+1+1+1+1+1+1+1+1)\times(1+1)\times(1+1)\times(1+1)$
$=11\times2 \times2 \times2$
$=88$

...so
For $x = $...$7$, $2$, or $1$ just multiply the rest together and add them on.
For $x=0$ one can add $(7\times 2)\pmod{1}=0$, or $(7+1)\pmod{2}=0$.


The only question is: Does doing what I have done here count as using the given numbers more than once?


Here is an alternative, sneaky way...

Subtract the one from the seven, turn the resulting six upside-down, append the zero, then subtract the two.

$7-1=6$
$\text{turn}(6)=9$
$\text{append}(9,0)=90$
$90-2=88$

Jonathan Allan
  • 21,150
  • 2
  • 58
  • 109
7

If ceiling or nearest integer function is allowed,

$\lceil{\tan^{-1}(27+0!)}\rceil = 88^{\circ}$

Timtech
  • 255
  • 3
  • 7
5
  • Use "2" and "0" as digital numbers to combine them to form "8"
  • Add "1" and "7" mathematically and the result is "8"

So "88"

enter image description here

rizzz86
  • 509
  • 3
  • 4
4

As a perl one-liner you could write:

perl -le 'for ($_=-1-2,$i = 0; $i<7; $i++) {$_+= $i*$i }; print'

or without a zero:

perl -le 'print ((7+1)x2)'

or without a zero OR a two in the bash shell:

x=$((7+1)) && echo $x$x

or without a zero, one, or two in bash:

false || x=$((7+$?)) && echo $x$x

or without any numbers at all:

false || x=$(($?+$?+$?+$?+$?+$?+$?+$?)) && echo $x$x

gogators
  • 297
  • 1
  • 5
2

If we use base 36

We now have access to the digits 2, 0, 1, A, N, D, 7. So:
$= (N \times D) - 7 + \left(\frac{A}{2}\right) - 1 + 0$
$= 8B - 7 + 5 - 1 + 0$
$= 8B - 3$
$= 88$
Using base 10 math gives us 2, 0, 1, 10, 13, 23, 7
$= (23 \times 13) - 7 + \left(\frac{10}{2}\right) - 1 + 0$
$= 299 - 7 + 5 - 1 + 0$
$= 299 - 3$
$= 296$
296 is 88 in base 36

coffeecop
  • 45
  • 1
  • 2
    But that's not what the question is asking for. – Rand al'Thor Feb 03 '17 at 17:19
  • 1
    The question says using those four digits once only. Your answer is the equivalent of saying "well, if I also use these other digits, I can get the answer!" which is completely besides the point. – Nij Feb 03 '17 at 22:49
  • Using the digits "2 0 1 and 7", if extract_digits=lambda x:set(" ".join(x).split()). However, the usual definition is extract_digits=lambda x:set(parse_english(x)). – wizzwizz4 Feb 04 '17 at 15:26
  • Why are we allowed to use $D$? I can agree with using $A$ in base 36 as a creative way of using $1$ and $0$, especially since the question never specified base 10, but why is $D_{36} = 13_{10}$ ok? –  Feb 06 '17 at 13:59
2

Here is my first answer after about 5 minutes of brute-force checks!

$\lceil\log{\sqrt{102!}}\rceil+7=88$

where log means logarithm in base 10.

By the way, as a wild guess, I think that 88 is very likely to be the OP's birth year.

  • Or, perhaps, age. You can never tell, unless you're a data miner or have access to said data miner's data. – wizzwizz4 Feb 04 '17 at 15:29
  • @wizzwizz4 This could have been another puzzle. And we can never be sure about a puzzle's solution until the puzzle owner reveals the answer... –  Feb 04 '17 at 15:33
  • 1
    It's the visual representation of a 7-bar numerical display. Interpreting it as such gives 1111111 1111111. ASCII has seven bits; interpreting this number as ASCII gives DEL DEL. The OP wants to delete all puzzles. – wizzwizz4 Feb 04 '17 at 15:41
  • @wizzwizz4 Add some evil laughs to the background –  Feb 04 '17 at 17:28
  • I thought $88$ was a reference. –  Feb 06 '17 at 14:01
1

$0!-(.7-.1)\times.2$

$= 1 - (0.6)(0.2)$

$= 1 - 0.12 = 0.88$

remove the decimal point to get $088=88$.

Jonathan Allan
  • 21,150
  • 2
  • 58
  • 109
JMP
  • 35,612
  • 7
  • 78
  • 151
1

In base 9:

$$88 = 102 - \lceil\sqrt 7\rceil$$

Ry-
  • 2,117
  • 15
  • 20
1

Here is yet another one.

$$\lceil{\sqrt{\sqrt{\left(\sqrt{\sqrt{7!}}\right)!} \times \left( 2 + 0! + 1\right)!}\rceil}$$

Breaking it down:

$$7! = 5040$$ $$\sqrt{7!} = \sqrt{5040} = 70.992957$$ $$\sqrt{\sqrt{7!}} = \sqrt{70.992957} = 8.42573$$ $$\left(\sqrt{\sqrt{7!}}\right)! = 8.42573! = 101358.44566$$ $$\sqrt{\left(\sqrt{\sqrt{7!}}\right)!} = \sqrt{101358.44566} = 318.368411$$ $$ \sqrt{\left(\sqrt{\sqrt{7!}}\right)!} \times \left(2 + 0! + 1\right)! = 318.368411 \times 24 = 7640.84$$ $$\sqrt{\sqrt{\left(\sqrt{\sqrt{7!}}\right)!} \times \left(2 + 0! + 1\right)!} = \sqrt{7640.84} = 87.412$$

$$\lceil{\sqrt{\sqrt{\left(\sqrt{\sqrt{7!}}\right)!} \times \left( 2 + 0! + 1\right)!}\rceil} = \lceil{ 87.412 \rceil} = 88$$

Trenin
  • 8,964
  • 21
  • 53
1

Another use of mathematical functions and flooring...

$\lfloor\ln\Gamma(\frac{7\times10}{2})\rfloor$

$=\lfloor\ln\Gamma(35)\rfloor$

$=\lfloor88.58082754219768\rfloor$

$=88$

Reference: $\ln\Gamma(x)$

Jonathan Allan
  • 21,150
  • 2
  • 58
  • 109
0

If subfactorial is allowed:

$!(7-2)\times(1+0!)=44\times2=88$

ThomasL
  • 12,167
  • 3
  • 24
  • 100