![]() |
![]() |
#1 |
Jul 2015
2×19 Posts |
![]() |
![]() |
![]() |
![]() |
#2 |
Aug 2022
China
25 Posts |
![]()
.
Last fiddled with by SuikaPredator on 2022-10-31 at 08:26 Reason: deleted |
![]() |
![]() |
![]() |
#3 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
3×23×149 Posts |
![]()
Not really. While, with the current computing power of a good CPU today, a single line in Pari incrementing the enumerator and denominator alternatively (the silly-stupid way) will give you the EP100 solution in about half hour or so (didn't have the patience and the time, stopped it after few seconds), here (by replacing 2 with the constant they give) it will not work, due to the size of the numbers, you will get quite old
![]() ![]() Code:
gp > m=1; n=1; while(1, if((zn=(2*n*(n-1)))<(zm=(m*(m-1))),n++,if(zn>zm,m++,print(n", "m);n++))) 1, 1 3, 4 15, 21 85, 120 493, 697 2871, 4060 16731, 23661 97513, 137904 568345, 803761 3312555, 4684660 19306983, 27304197 112529341, 159140520 ![]() Last fiddled with by LaurV on 2022-10-31 at 15:02 |
![]() |
![]() |
![]() |
#4 |
Sep 2022
3×23 Posts |
![]()
a must be one of the following forms mod 487085 (i think), but considering the fact we are dealing with 100 digit numbers it hardly helps:
0,1,79850,114985,194835,292251,372101,407236. Last fiddled with by Rubiksmath on 2022-11-01 at 03:22 |
![]() |
![]() |
![]() |
#5 |
Oct 2017
2138 Posts |
![]() |
![]() |
![]() |
![]() |
#6 |
Sep 2022
3·23 Posts |
![]() |
![]() |
![]() |
![]() |
#7 |
Aug 2022
China
25 Posts |
![]()
I'm sorry, but I discovered my mistake immediately after posting that one. Actually I misread the fraction 1/974170 in the problem statement into 1/2. Maybe the actual problem could also be solved by continued fractions but with some more complex deductions than the 1/2 version.
|
![]() |
![]() |
![]() |
#8 |
Jul 2015
3810 Posts |
![]()
"Your goal: find a,b such that the probability for two comfortable socks is exactly \frac{1}{974170} , and such that this is the minimal solution with b having at least 100 digits (minimal with respect to the size of b )"
My understanding is b should be bigger than 10^99 and smaller than any other potential b? |
![]() |
![]() |
![]() |
#9 | |
Feb 2017
Nowhere
11000010111012 Posts |
![]() Quote:
If I did my sums correctly, the smallest possible b is 114985, with a = 117. (I don't think this is giving away anything useful for answering the stated question.) |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
November 2020 | Xyzzy | Puzzles | 3 | 2020-12-07 02:15 |
November 2019 | Xyzzy | Puzzles | 89 | 2019-12-04 19:18 |
November 2018 | Batalov | Puzzles | 5 | 2018-12-03 13:31 |
November 2017 | Batalov | Puzzles | 3 | 2017-12-08 14:55 |
November 2016 | Xyzzy | Puzzles | 1 | 2016-12-06 16:41 |