![]() |
![]() |
#1 |
Aug 2002
212516 Posts |
![]() |
![]() |
![]() |
![]() |
#2 |
"Max"
Jun 2016
Toronto
25×29 Posts |
![]()
Min/max for 7/5 case? 446/3051?
|
![]() |
![]() |
![]() |
#3 |
Jan 2021
2×3 Posts |
![]()
I can confirm those numbers...
/Thomas Egense |
![]() |
![]() |
![]() |
#4 |
"Max"
Jun 2016
Toronto
25×29 Posts |
![]()
Thank you! I sent my 7/5 solution yesterday.
What did you code in? What was the total runtime? I coded in Python, it took ~24 minutes to solve the n = 7, d = 5 case. Java should be faster for sure. Is anybody working on n = 8, d = 6? It would be nice to see the min/max counts (please don't post the solutions, just the counts). |
![]() |
![]() |
![]() |
#5 | |
Jan 2021
1102 Posts |
![]() Quote:
It took about 2 minutes to solve in java for n=7,d=5. I did not really optimize except first generating cache of small primes. The n=8, d=6 was solved in some hours, did not time it. For n=8, d=6: wheeel for maximum solution had 1992 primes wheel for minimum solution had 741 primes. |
|
![]() |
![]() |
![]() |
#6 | |
"Max"
Jun 2016
Toronto
25×29 Posts |
![]() Quote:
Thank you! |
|
![]() |
![]() |
![]() |
#7 |
"Walter S. Gisler"
Sep 2020
Switzerland
3·5 Posts |
![]()
I can confirm the scores for n = 7 and d = 5.
For n = 8 and d = 6, I get the following scores: max: 19690 min: 6905 Average execution time (using Cython, and only one thread - could be easily parallelized): n = 7, d = 5: ~120 seconds n = 8, d = 6: ~1100 seconds |
![]() |
![]() |
![]() |
#8 |
Sep 2017
2058 Posts |
![]()
I have a circle with score 21617 but my min is not even close to yours.
|
![]() |
![]() |
![]() |
#9 |
"Max"
Jun 2016
Toronto
16408 Posts |
![]()
> but my min is not even close to yours.
It might be that the problem got edited after the initial posting. The first sentence reads: "Seven distinct digits are placed on a circle." (also, "placed" is misspelled in the original) I had much lower min scores (60 instead of 446) when the circle of 7 was allowed to have duplicates. No duplicates allowed, neither in the circle, nor in the numbers. Thank you for posting your scores and times! |
![]() |
![]() |
![]() |
#10 |
Sep 2017
7·19 Posts |
![]()
I meant my minimum is much higher. I do hope someone who solved the bonus can post their scores for min and max.
|
![]() |
![]() |
![]() |
#11 |
"Walter S. Gisler"
Sep 2020
Switzerland
3·5 Posts |
![]()
Just to add on to my previous response: the number of primes that can be generated with the max and min wheel in my solution corresponds to the same values that Zoozie posted (741 primes for the min wheel and 1992 primes for the max wheel). Now, to be fair, I see multiple wheels that generate the same number of primes, but it gives me some additional confidence that my solution is right.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
2022 project goals | gd_barnes | Conjectures 'R Us | 5 | 2022-07-18 04:01 |
2022 Project Goal discussion | rogue | Conjectures 'R Us | 15 | 2021-12-19 21:20 |