mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2016-10-20, 08:20   #56
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

22·7·53 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Could you rerun your program without it and see how many we lose.
OK, made a rerun; without percent symbol: the smallest missing value is at n=103, up to n=1000 there are 445 missing values, and up to n=10000 there are 8682 missing values.
Attached Files
File Type: zip nopercentfournine.txt.zip (9.1 KB, 122 views)
R. Gerbicz is offline   Reply With Quote
Old 2016-10-20, 10:20   #57
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2A0116 Posts
Default

If you allow me the standard notation lg(x) defined as the binary logarithm of x, logn(x) defined as logarithm of x to base n, the square root symbol and the minus-symbol I can generate all integers with only two nines.

I'll build up the proof in easy stages.

First, note that

log9(√9) = 1/2,
log9(√√9) = 1/4,
log9(√√√9) = 1/8

and, in general,

log9(√...√9) = 1/2N where the √ symbol has been repeated N times.

Second, lg(1/2N) = -N

So far I've created all the negative integers. Preceding the expressions given above with a '-' generates all the strictly positive integers.

The only remaining case to be solved is zero, which is just 9-9.

The case 103, in this notation, is

-lg(log9(√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√9))

If you disallow lg(x), replace it with log log[SUB]√9(9)[/SUB](x) and now you've a solution which uses four nines.

Last fiddled with by xilman on 2016-10-20 at 10:36 Reason: Add minus-symbol to list of required functions.
xilman is offline   Reply With Quote
Old 2016-10-20, 17:51   #58
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

22·7·167 Posts
Default

Quote:
Originally Posted by R. Gerbicz View Post
OK, made a rerun; without percent symbol: the smallest missing value is at n=103, up to n=1000 there are 445 missing values, and up to n=10000 there are 8682 missing values.
Cool thanks.

You found the following 9 that we had solutions for using the % (could be once people fouud the solution with the % they didn't look further)
Code:
140	 9/((√(9)!)%) - 9/.9	                    ((((sqrt(9))!)!)-((sqrt(9))!))/(((sqrt(9))!)-.9)
150	 ((9*9)/9%)/√(9)!	                    9/(.9/(9+((sqrt(9))!)))
152	 9/((√(9)!)%) + √(9)!/√(9)	            ((((sqrt(9))!)!)+((((sqrt(9))!)!)*.9))/9
170	 (√(9)!)/((√(9))%) - 9/(√(9%))	            (((sqrt(9))!)+((9!)/(((sqrt(9))!)!)))/(sqrt(9))
199	 99 + 9/9%	                            sqrt(((9+(9!))/9)-(((sqrt(9))!)!))
206	 (9+9)/9%+√(9)!	                            (((sqrt(9))!)^(sqrt(9)))-(9/.9)
220	 ((√(9)!)!/√(9)! + 9/9%	                    ((9+(sqrt(9)))!)/((9!)*((sqrt(9))!))
273	 (√(9)/9% - √(9)) * 9	                    ((((sqrt(9))!)!)+99)/(sqrt(9))
306	 9 / (√(9))% + √(9) + √(9)	            9+((sqrt(9))*99)
We stopped at 315 ... with a few sparse exceptions.

And at first look it seemed you missed one...however my combined list had 1 mistake.
295 = √(9)!^ √(9) + 9*9
should be 297 (though we had another solution for that one.

Now how about four 4's. That puzzle should be somewhere in this forum too.
petrw1 is offline   Reply With Quote
Old 2016-10-20, 18:44   #59
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Now how about four 4's. That puzzle should be somewhere in this forum too.
The solution I posted works exactly the same as for the four 9's. It works for all integers >1.

I must make it clear that I didn't invent the technique. I have an idea that it originates with PAM Dirac but may have misremembered. However, it appears not to be widely known so I take up opportunities to publicize it.
xilman is offline   Reply With Quote
Old 2016-10-20, 20:29   #60
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

22·7·53 Posts
Default

Quote:
Originally Posted by xilman View Post
However, it appears not to be widely known so I take up opportunities to publicize it.
See for example: https://en.wikipedia.org/wiki/Four_fours, so it is well known. And we can do an even better, both of these formulas are using unary negative, but we can avoid this:

n=log_c{log_x{b}}, where we use four b values:
c=log_{sqrt(b)}{b} and x=sqrt(sqrt(...(sqrt(b))...) (here sqrt iterated n times)
with this c=2 and x=b^(1/2^n), hence log_c{log_x{b}}=log_2(2^n)=n.

Quote:
Originally Posted by petrw1 View Post
Now how about four 4's. That puzzle should be somewhere in this forum too.
I'll update that, though up to n=999 there is no new solution at: http://www.mersenneforum.org/showthr...t=4756&page=10
R. Gerbicz is offline   Reply With Quote
Reply



All times are UTC. The time now is 03:20.


Sat Jul 17 03:20:35 UTC 2021 up 50 days, 1:07, 1 user, load averages: 1.80, 1.55, 1.41

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.