Can You Solve the Four Nines Puzzle?

  • Thread starter Thread starter ACG
  • Start date Start date
  • Tags Tags
    Puzzle
AI Thread Summary
The discussion revolves around solving a mathematical puzzle using exactly four nines to express every integer from 0 to 132. Participants share various expressions and strategies, noting that while some numbers are easy to derive, others, particularly in the 50-70 range, require creative approaches. The concept of 0.999... equaling 1 is debated, with some participants providing proofs and others expressing skepticism about this mathematical assertion. Additionally, the legality of using certain mathematical symbols, like square roots, is clarified, emphasizing that only specific operations are permitted. Ultimately, the conversation highlights the challenge and complexity of the puzzle while exploring mathematical concepts.
ACG
Messages
46
Reaction score
0
Hi! I have a puzzle here and was wondering if you guys could solve it.

Using exactly four nines each time and no other numbers or letters, find expressions which evaluate to every integer between 0 and 132. You may put parentheses wherever you wish and uses whatever mathematical symbols you want other than ceiling and floor.

If I remember correctly, the hardest number for me was (I think) 68.

Example:

0 = 99-99.

Good luck!

ACG

P.S.If you want a hint, read on.



















spoiler space.






















_
Hint: .9 = 1.
 
Physics news on Phys.org
Hint: .9 = 1.

Err... no it doesn't.
 
ACG is trying to say that .9 repeating = 1, since you can use the repeating symbol as a mathematical symbol.

~Lyuokdea
 
9/9+9-9=1

9/9+9/9=2
 
68 = 69 - \frac{9}{9}
 
The first few are fairly easy. However, the higher the numbers get, the harder they are. By the time you get to 50-60 you have to start to get VERY creative. Rest assured, it can be done.
 
jimmysnyder, that's a smart one ^^
 
but are we allow to rotate the 9? i thoght it woulda changed it into a 6 as it clearly reads six nine not nine nine.

Sqrts allowed?
 
hmmmm... for 2 I thought using .9999 was cheap so i did:


((9*.9)/9)*9
 
  • #10
i don't undertand what does .9=1 or .99999 meant
 
  • #11
ArielGenesis said:
i don't undertand what does .9=1 or .99999 meant

I'm not sure but I think it means:

1 = .9...

so

4 = .9... + .9... + .9... + .9...
 
  • #12
I think they are referring to .9 (with a dot above the 9 to signify a recurring number)

I don't really agree because it will never equal 1 it just will be very close.

In general terms is it cheating to use the shortened form of a square root (e.g. remove the 2)?
 
  • #13
19 down 113 to go :(
 
  • #14
One may not turn the 9's upside down. Sorry about that! :frown:

Square root is legal (and indeed, is crucial). Any mathematical symbol which does not involve letters (sin, cos, etc.) is permitted. Ceiling and floor are prohibited.

The .9=1 thing is

.9 with a bar over it (.9 bar) = .999999... = 1.

ACG
 
  • #15
Here's another hint -- it took me maybe 3 minutes to figure out the solutions for all of the numbers except maybe five or six. Those six took an hour more. Clearly, there's a trick. But what is it?
 
  • #16
3minutes? wow I'm over and hour and I've gotten maybe 3/4s


hour later and I'm down to these #
44,46,65,67,68,74,76,116,
and 116+(i do have a few of these numbers but not alot)


5min later and I'm left with
65,67,78,74,76,116,118,131 i give up for now
 
Last edited:
  • #17
The .9=1 thing is

.9 with a bar over it (.9 bar) = .999999... = 1.
Is the bar the same as having a dot above the number?

p.s. as I said before, it will still never=1 it will just be really close.

Why would you say it equals 1?
 
  • #18
Proof of 0.999999999... = 1

Let 0.9999999999... = x

Therefore, we have
10x = 9.99999999999...
10x = 9 + 0.9999999999...
10x = 9 + x
9x = 9
x = 1

x = 0.9999999999999... = 1
 
  • #19
:biggrin: Nice bit of trickery :biggrin:
but 0.99999<1 just like 1.000001>1
 
  • #20
Daminc said:
:biggrin: Nice bit of trickery :biggrin:
but 0.99999<1 just like 1.000001>1
what is 1 - .9999... ?
 
  • #21
I'm willing to post the solutions on the board if everyone agrees.

In the meantime, I found a second problem.

It's like the Four Nines Problem, except that it's got two 4's and two 9's.

You can get all the numbers from 0 to 232. This is quite a bit harder as there are more options.
 
  • #22
what is 1-.9999
Mmmm, good point :frown:

It's still 0.0001 (with a recuring dot above the zero) which is >0

I agree it's close enough to zero that it makes no practical difference but I still can't agree that it's zero.
 
  • #23
Daminc said:
It's still 0.0001 (with a recuring dot above the zero)
There is no such mathematical notation. The dot over the zero literally means there is no 1, just 0s. Besides, just as a practical matter, I don't see how you can justify that final 1 in terms of the subtraction problem I set you.
 
  • #24
There is no such mathematical notation.
I used to use a recuring dot when I was at school 20 odd years ago.

I never used it in this context but in a way you're dealing with infinities so if you want to have a number that has an infinate number of nines after the decimal then I can have an infinate number of zeros before the 1 :)

Anytime you fix the number of nines then the sum can be calculated.
 
  • #25
Daminc said:
I used to use a recuring dot when I was at school 20 odd years ago.
When I said that there was no such mathematical notation, I was not talking about the dot, I was talking about the 1 at the right hand end after the dot.

Daminc said:
I never used it in this context but in a way you're dealing with infinities so if you want to have a number that has an infinate number of nines after the decimal then I can have an infinate number of zeros before the 1 :)
After good, before bad. I'm allowed to put as many 9s as I want after the decimal point because there is a decimal point, but you are not allowed to put any zeros before the last 1 because there is no last 1. That is what infinity means. in = no, finite = end, infinite = no end = no last digit.

Q: What comes after the last zero?
A: There is no last zero.
Q: What comes before the last one?
A: There is no last one.

I still don't see where that 'last' 1 comes from anyway. Certainly not from the subtraction problem I asked you to perform.
 
  • #26
1-.9 = 0.1
1-.99 = 0.01
1-.999 = 0.001
1-.9999 = 0.0001

etc

for every additional 9 there would be an additional 0
 
  • #27
Daminc said:
1-.9 = 0.1
1-.99 = 0.01
1-.999 = 0.001
1-.9999 = 0.0001

etc

for every additional 9 there would be an additional 0
But 0.0001 is not the final answer. The final anwer is smaller than 0.0001!
 
  • #28
But more than 0 :)
 
  • #29
0.00001 + .99999 = 1.
What is 0.0000...1 + .9999...?
Looks to me like .9999...1.
What do you get?
 
  • #30
Daminc said:
But more than 0 :)
No, smaller than .0000001 as well. In fact smaller than any number that is more than 0.
 
  • #31
No, smaller than .0000001 as well. In fact smaller than any number that is more than 0.
But still more than zero. That's the problem with using infinities. They are not real numbers just concepts. As soon as you define the number the sum can be completed.
 
  • #32
Daminc said:
But still more than zero.
If it is smaller than any number that is more than zero, and it is itself more than zero, doesn't that mean that it is smaller than itself?
 
  • #33
godchuanz said:
Let 0.9999999999... = x

Therefore, we have
1. 10x = 9.99999999999...
2. 10x = 9 + 0.9999999999...
3. 10x = 9 + x
4. 9x = 9
5. x = 1

x = 0.9999999999999... = 1

I numbered the steps for reference. My knowelege of what I'm noting is limited but in lines 2 and 3, can you make the substitution of .9999... with x after the multiplication of 10?

You obviously couldn't if it wasn't repeating:
x=.99
10x=9.9
10x=9+.9
.9!=x
but it is, which is why I'm posing a question rather than making a claim.

edit: I guess you could justify it by saying that as the number of 9's approaches infinity, the difference between the number and x approaches 0. So is infinity-1=infinity? (so says my calculator :))
 
Last edited:
  • #34
A more formal proof would be to sum up all 9/10+9/100+9/1000... per

Sum (i=1 -> inf) 9/10^i =
Lim (j -> inf) Sum (i=1 -> j) 9/10^i =
Lim (j -> inf) .9(1-10^-(j+1))/(1-1/10)=
.9/(9/10)=
1

I suppose it's as valid as anything to question if 10^-inf=1/(10^inf)=0, but they're generally pretty darn accepted as far as I've seen. One could probably further deconstruct the real number system in general, but that's beyond me - I'm a mere programmer with a side side interest in math and not much of a wizard.

One could infomally note things like that any repeating digit is equal to itself divided by 9, such as

.5555...=5/9
.123123123123...=123/999

thus perhaps venturing that

.99999...=9/9

(This is also highly useful for finding fractions of repeating numbers you bump into, .0.2857142857..=285714/999999. GCD per Euclid and divide 'em, 2/7. Bam! Ok, I'm drifting off topic. My appologies. Ok, a quick reminder, if you don't want .999.. to be 1, then it doesn't work for that particular case, only all others.)

You could also try adding up two other fractions of nine

1/9=.111111...
+
8/9=.888888...
=
9/9=.999999...

All these informal things, of course, rely on taking normal operations for correct, though personally I'm usually cool with that.

Regarding the original puzzler, I'm toying with it a bit but don't hold back on the solution on my account. This is also my first post (hence the postcount 1) so I hope I didn't embarress myself too much.
 
  • #35
ok, ok I'll succumb to the overwhelming attack of logic to prevail against my common sense :)
 
  • #36
Heh. Well, it is very counter-intuitive - you best believe I didn't want to buy it first time I was told of thie atrocity (around 10th grade, I believe). However, series and other number theory things often don't look very sensible in the slightest to me, for instance 1/(10^inf) feels like it ought to be way less then 1/inf, after all the bottom number is an infinite order of magnitude rather then just plain infinite. Still, they sneakily both converge on zero lim->inf (one faster then the other of course, when that matters). Are there more integers then even numbers? Then primes? Kinda all infinite, aren't they? It's all nuts I tells ya!
 
  • #37
Some results:

65 = (.\bar{9} + .\bar{9}) ^ { (\sqrt{9}) ! } + .\bar{9}

67 = (.\bar{9} + .\bar{9}) ^ { (\sqrt{9}) ! } + \sqrt{9}

68 = \frac{((\sqrt{9}) !) !} {9} - 9 - \sqrt{9}

:smile:
 
  • #38
Please do not continue the .999... =1 discussion in this (or any other) thread. Read this

Note that it is locked. This has been discussed enough. It is a mathematical fact.
 
  • #39
Another thing which I'm noticing. When I was at school we used a dot above the number to imply an infiniate recurance. The examples here shows a line above the number.

When did this change?
 
  • #40
Think I have a full set 0-132. Unfortunatly my host is temporarily down and I'm not so sure about jammig 133 lines in this thing - that'd be mucha annoying if someone else did it.

Possible spoiler in white:
I found no trick per se, though I can't say I looked for one too hard. Mostly, my plan was to find a largish (or appropriatly sized, though I'd mostly typed out the lower ones while I was thinking) number (99, 9*9, 9!/9, 9!/(Sqrt[9]!), etc) with two 9s and then blanket the surrounding area with +-{1,3,6,9} (3=Sqrt[9], 6=3!, 1=.9..) with the other two. I'm sure this could be done more systematically then just typing them out willie nelly, but I didn't. With two nines you can blanket +-10 completely (+9+1, +9*1, +9-1, +6+1, +6*1, +6-1, +3+1, +3*1, +3-1, +1+1, +1*1 for positive, invert for neg), as well as sporadic numbers outside (9+3, 9+6, et al). This covers a ton of ground, I assume this is the 3 min to 5-6 left mentioned unless I'm missing something else. It's obviously helpful to blackbox any "single nine" operation, thinking of a nine as a {1,3,6,9} of your choice rather then a 9. The last few were just grunt work, 132=(Sqrt[9]!-.9)^Sqrt[9]+Sqrt[9]! was the final conquest.

[EDIT] Typo. Yes, I'm sure there's plenty more.
 
Last edited:
  • #41
LarrrSDonald said:
132=(Sqrt[9]!-.9)^Sqrt[9]+Sqrt[9]!
But 131 = (Sqrt[9]!-.9)^Sqrt[9]+Sqrt[9]!?
 
  • #42
Opps, my bad, 132=(Sqrt[9]! ! / Sqrt[9]!) + Sqrt[9] + 9, though 131=... per above was the last discovered. Typed 132=... when I copied it for some reason. Sorry 'bout that.
 
  • #43
Thought a little more about this..

As I mentioned, +-10 (inclusive) with two nines can be made with one from +9,+6,+3,*1 with -1,*1,+1 on each where 3=Sqrt[9], 6=3! and 1=.9... (Yeah, just repeating it for completeness).

Thus,

9+1 = 10 (covers 0-20)
9*3 = 27 (covers 17-37)
6*6 = 36 (covers 26-46)
9*6 = 54 (covers 44-64)

Gap: 65-70

9*9 = 81 (covers 71-91)
99 = 99 (covers 89-109)
6!/6 = 120 (covers 110-130)

Gap: 131-132

So 65-70, 131, 132 left - i.e. eight of them. Additionally, +9+3 and +9+6 w/ 54 can knock off 66 and 69 (or 81 minus the same), so 65, 67, 68, 70 for that gap. 6!/6=120 also picks up 132 w/ +9+3. 6!/9=80, so that juuust dips down to grab 70 and hits 68 w/ -9-3. The remaining three are tricky, but (1+1)^6=64 (using three 9s) and hit 65,67 with +1 and +3. 131 is covered above, but just for the hell of it:

131=(Sqrt[9]!-.9)^Sqrt[9]+Sqrt[9]!

Obviously replace 1,3,6 with appropriate single nine op when I haven't. Belive that's the lot of 'em.
 
Last edited:
  • #44
Here's a similar solution to two 4s, two 9s, 0 to 232:

With one 4 one 9, one can generate a +-13 span,

0=*(.9..)^4
1=Sqrt[4]-(.9..)
2=Sqrt[4]*(.9..)
3=4-(.9...)
4=4*(.9...)
5=4+(.9...)
6=Sqrt[9]*Sqrt[4]
7=Sqrt[9]+4
8=Sqrt[9]!+Sqrt[4]
9=Sqrt[9]^Sqrt[4]
10=Sqrt[9]!+4
11=9+Sqrt[4]
12=Sqrt[9]*4
13=9+4

Neg by -same. Note that +-0 or *1 can no longer be considered obvious (though not amazingly hard either), there is no single four op to 1 or 0. Thus, 9=9, for instance, doesn't adequitly show that you can get rid of your (in this case) extra 4.

The following ranges can then be covered (Gaps noticed rather then covered):

9+4=13 {0,26}
4*9=36 {23,49}
49 {36,62}
4!*Sqrt[9]=72 {59,85}
94 {81,107}
(4+(.9..))!=120 {107,133}
4!*(Sqrt[9]!)=144 {131,157}
-- Gap {158,166}
(Sqrt[9]!)/4=180 {167,193}
Gap {194,202}
4!*9=216 {203,229}
-- Gap {230,232}

Then,

Covering {158,166}:

9*9*Sqrt[4] w/ -4,-2,+2,+4 covers 158 160 164 166
Sqrt[9]^4*Sqrt[4] w/ -3,-1,*1,+1,+3 covers 159 161 162 163 165

Covering {194,202}:

99*Sqrt[4] w/ -4,-2,+2,+4 covers 194 196 200 202
49*4 w/ -1,+3 covers 195 199

197=94*Sqrt[4]+9
198=99*Sqrt[Sqrt[4]]^Sqrt[4]
201=(4!-Sqrt[4])*9+Sqrt[9]

Covering {230,232}:

230=(4!-(.9..))*(Sqrt[9]!+4)
231=(4!+Sqrt[4])*9-Sqrt[9]
232=(Sqrt[9]!)^(Sqrt[9])+4*4

Which should altogether cover {0,232}. As a bonus,

(4!+Sqrt[4])*9 w/ -1,*1,+1 takes the next three - 233,234,235. Sorry if this is a bit longish, kind of needed lots of lines rather then long ones..
 
  • #45
got all except for 65

hmmmm i have all of them but i can't seem to get 65... either my brains not working from the thinking or I am just really stupid... or 65 is HARD to get... hmm :confused: :confused: help
:eek:
 
  • #46
Stuck on 131

I started this puzzle yesterday evening, doing 1-100. I'd gotten all but 85, 88, and 94 when I came across this forum. With .9...=1, I've gotten everything except 131, because according to my calulator, the above formula does NOT equal 131.

Maybe I'm just not reading it right. Could someone explain the equation for 131?
 
  • #47
Spazzcat said:
I started this puzzle yesterday evening, doing 1-100. I'd gotten all but 85, 88, and 94 when I came across this forum. With .9...=1, I've gotten everything except 131, because according to my calulator, the above formula does NOT equal 131.

Maybe I'm just not reading it right. Could someone explain the equation for 131?

131 = { ( (\sqrt{9}) ! - .\bar{9} ) ^ \sqrt{9} } + (\sqrt{9}) !

or

131 = { ( 3! - 1 ) ^ 3 } + 3!

or

131 = { 5 ^ 3 } + 6

:smile:
 
Back
Top