mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2020-04-14, 05:55   #12
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

140648 Posts
Default

Quote:
Originally Posted by LaurV View Post
Interesting, if the puzzle would ask for 4444^4443, most of the "solvers" here would have failed the answer
But the exponent is 4444 not 4443, and knowledge of the exponent allows us to exclude the answer 10. Don't believe me? Then try going through the analysis without using a program.

Your "cheating" by using a program means you came to the wrong conclusion.

Last fiddled with by retina on 2020-04-14 at 05:56
retina is online now   Reply With Quote
Old 2020-04-14, 07:52   #13
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

961110 Posts
Default

Quote:
Originally Posted by retina View Post
Your "cheating" by using a program means you came to the wrong conclusion.
Guilty as stated. If you look to my first post in this thread, it is edited. One of the edited things (beside small stuff I "fix" in all my posts), was to add 10 to the list. I couldn't see it by "analysis" either, haha... That's why the rest of the comment where I stressed out that 10 can be in the list. In those 5 minutes I painted the vecsum(digits... line on the screen "to make sure" and I realized I missed the 10.

Last fiddled with by LaurV on 2020-04-14 at 07:56
LaurV is offline   Reply With Quote
Old 2020-04-14, 09:37   #14
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

148410 Posts
Default

Quote:
Originally Posted by LaurV View Post
[/CODE]Interesting, if the puzzle would ask for 4444^4443, most of the "solvers" here would have failed the answer
And how would you answer for that?
Just to see a close example: s(4444^4368)=72010, so it is collapsing too quickly:
s(s(4444^4368))=10 and s(s(s(4444^4368)))=1.

Notice that if we see "average" expected digit sum for the first number, then in your example:
s(4444^4443) ~ log(4444^4443)/log(10)*4.5=72932 and it is just "too" close to exclude 73000 with this heuristic. (there are other candidates with smaller probability)
R. Gerbicz is offline   Reply With Quote
Old 2020-04-14, 15:09   #15
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

100101100010112 Posts
Default

Quote:
Originally Posted by R. Gerbicz View Post
And how would you answer for that?
Probably, wrong (see my prec post)
LaurV is offline   Reply With Quote
Old 2020-04-15, 00:23   #16
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

22·1,549 Posts
Default

What is the digital sum3 of 999999999^999999999? IOW: SoD(SoD(SoD(999999999^999999999)))

I hope this breaks your cheating computer programs.
retina is online now   Reply With Quote
Old 2020-04-15, 04:01   #17
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

22×1,549 Posts
Default

Quote:
Originally Posted by retina View Post
What is the digital sum3 of 999999999^999999999? IOW: SoD(SoD(SoD(999999999^999999999)))

I hope this breaks your cheating computer programs.
Someone has shown me the correct answer via PM. Although posting it here would be just fine, with spoiler tags.
retina is online now   Reply With Quote
Old 2020-04-15, 07:44   #18
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

7·1,373 Posts
Default

Quote:
Originally Posted by retina View Post
I hope this breaks your cheating computer programs.
It does not. What you need is just a bit more RAM. This is just a ~8.9999 billion digits number and you need about 5GB RAM to store it in packed decimal, and you need to do about 30 "square and multiply" (2^30>999999999). iow, like 30 LL iterations of a OBD number...

Of course, approaching the problem like that would be totally stupid, but well... hihi
LaurV is offline   Reply With Quote
Old 2020-04-15, 11:39   #19
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23×3×5×72 Posts
Default

Sum 1:
999999999 has 9 digits so 999999999^999999999 has at most 9*999999999 digits.
The maximum possible sum of these digits is 9*9*999999999 = 80999999919.

Sum 2:
It is fairly clear that 79999999999 has the largest sum of digits below 80999999919. This sum is 97.

Sum3:
The number with the largest sum of digits below 97 is 89. This sum is 17.

This leaves an upper bound of 17 for SoD(SoD(SoD(999999999^999999999)))
This leaves the possibility 9 as we know that the SoD function preserves divisibility by 9.
henryzz is offline   Reply With Quote
Old 2020-04-15, 11:59   #20
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

22×1,549 Posts
Default

Yeah. No computer assistance required.

henryzz and the mystery PMer had the same approach.
retina is online now   Reply With Quote
Old 2020-04-15, 23:51   #21
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

4,643 Posts
Default

Quote:
Originally Posted by LaurV View Post
Anyhow, if you didn't solve it yet, and want to solve it by yourself, then don't scroll down the code section below).
Code:
gp > for(i=1,4444,print(i": "vecsum(digits(vecsum(digits(vecsum(digits(4444^i))))))))
1: 7
2: 4
3: 1
<snip>
Interesting, if the puzzle would ask for 4444^4443, most of the "solvers" here would have failed the answer
OTOH, the basic argument most solvers used was good enough to prove that the answer would be less than 13 for all i up to 4444, so that for i congruent to 1 (mod 3) the answer is 7, and for i congruent to 2 (mod 3) it is 4. Thus, two-thirds of your computation was unnecessary.

For i divisible by 3, both candidates 1 and 10 are less than the bound 13, so the bound is insufficient to determine the answer. I don't see a simple elegant solution in this case.
Dr Sardonicus is offline   Reply With Quote
Old 2020-04-18, 19:03   #22
Citrix
 
Citrix's Avatar
 
Jun 2003

2×7×113 Posts
Default

Quote:
Originally Posted by LaurV View Post
Interesting, if the puzzle would ask for 4444^4443, most of the "solvers" here would have failed the answer
Hint: 99, 101, 999, 1001...
Citrix is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
A new problem similar to the Collatz problem dabler Miscellaneous Math 1 2018-07-28 14:03
problem I have science_man_88 Miscellaneous Math 2 2010-10-10 16:36
PSU problem? ian209 Hardware 4 2006-02-18 19:52
51 problem Neves Miscellaneous Math 5 2004-02-10 22:59
51 problem Neves Puzzles 15 2004-02-05 23:11

All times are UTC. The time now is 18:23.


Fri Jul 16 18:23:37 UTC 2021 up 49 days, 16:10, 1 user, load averages: 2.85, 2.72, 2.34

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.