3

Place any number of parentheses into this expression to get the number $256/63$

$$1\div2\div3\div4\div5\div6\div7\div8\div9\div10$$

I was able to get $63/256$, but I don't know how I would get the reciprocal.

Blue
  • 75,673

2 Answers2

4

You can't do it. You need all the even numbers in the numerator, to produce $256=2^8$. In particular, $2$ has to be in the numerator. But no arrangment of parentheses can make that happen.

TonyK
  • 64,559
  • 1
    In particular, the starting $1\div2$ will force the $2$ into the denominator, no matter the configuration. – player3236 Oct 27 '20 at 12:05
  • Thank you, I suspected it was impossible, but wanted to make sure I wasn't missing anything. –  Oct 28 '20 at 12:16
3

Just to make sure there is no mistake in an argument, here is a Python program which does the brute force search:

def gcd(x, y):
    if x<y: return gcd(y,x)
    if y==0: return x
    return gcd(y, x%y)

def fracs(lower, upper): if lower == upper: yield lower, 1, str(lower) for i in range(lower, upper): for n1, d1, s1 in fracs(lower, i): for n2, d2, s2 in fracs(i+1, upper): g = gcd(n1d2, n2d1) yield n1d2//g, n2d1//g, f"({s1}/{s2})"

for n, d, s in fracs(1, 10): print(f"{n}/{d} : {s}")

Intuitively, $\text{fracs}(i,j)$ produces (yields) the results as triplets (numerator, denominator, string expression) for a problem $i\div(i+1)\div\cdots\div(j-1)\div j$, and so it is launched as $\text{fracs}(1,10)$.

Sure enough, the output has $4862$ lines ($9$th Catalan number), and many of them ($143$ of them) are showing $63/256$, e.g.:

63/256 : (1/(2/(3/(4/(5/(6/(7/(8/(9/10)))))))))

but there are none showing $256/63$.

  • Yes, I posted this to make sure it was impossible, because the 1 would always make the 63 be on top. I just wanted to confirm. Thank you for your help! –  Oct 28 '20 at 12:17