9 is not primeStephanKoehler wrote: ↑Mon Jan 11, 2021 4:56 pm I just want to point out that the given solution of four primes [3, 7, 109, 673] is actually wrong. The following sequence meets the criteria and has a lower sum [7, 9, 19, 433].
Nonetheless, using the same algorithm I was able to get the correct answer for five primes.
Search found 170 matches
- Mon Jan 11, 2021 7:35 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 060
- Replies: 42
- Views: 20011
Re: Problem 060
- Thu Sep 10, 2020 5:42 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 724
- Replies: 5
- Views: 1097
Re: Problem 724
If this helps, the expected distance means the expected value of the distance. I believe it is also assumed that each drone is equally likely to be chosen each second.
- Sat Aug 29, 2020 7:12 pm
- Forum: News, Suggestions, and FAQ
- Topic: Errors/Warnings/Bugs
- Replies: 581
- Views: 192827
Re: Errors/Warnings/Bugs
Just checked in Chrome and it worked fine for me. I do notice something odd though. There's no arrows for the next and previous problems. Is that only available when logged in for some reason?
- Thu Aug 27, 2020 7:49 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 710
- Replies: 14
- Views: 3629
Re: Problem 710
I assume you used some sort of program to find the sequences and didn't just do 400 by hand. Did you also try a similar program for t(6)? If that fails, you might be able to see where it's failing.
- Fri Jul 17, 2020 8:41 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 710
- Replies: 14
- Views: 3629
Re: Problem 710
Problem 710 celebrates PE membership first exceeding one million, earlier this year... When I add up the Statistics/Levels memberships on PE.net I get about 120,000 members... Does that mean there are about 900,000 members who Have solved 0 to 24 problems? From the statistics main page I see There ...
- Fri May 22, 2020 8:51 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 059
- Replies: 114
- Views: 44074
Re: Problem 059
Can you tell me if my understanding of the problem is correct? Consider the following example: Suppose the original plain text was "HELLO WORLD", and the encryption key I chose was "97, 98, 99", which are the ascii values for a, b, c, respectively. To encrypt the plain text &quo...
- Fri May 22, 2020 3:01 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 320
- Replies: 8
- Views: 4107
Re: Problem 320
I seem to be having an issue on this problem. I'm getting the correct answer for S(1000), but my answer is not being accepted for S(1,000,000). I've double and triple-checked my constants and created 3 extra loops to verify values used to calculate N(1,000,000). All 3 loops cleared without reporting...
- Fri May 15, 2020 1:35 am
- Forum: News, Suggestions, and FAQ
- Topic: Errors/Warnings/Bugs
- Replies: 581
- Views: 192827
Re: Errors/Warnings/Bugs
Site's been down a lot today. Keeping this brief in case...
- Tue Apr 28, 2020 8:19 pm
- Forum: News, Suggestions, and FAQ
- Topic: Errors/Warnings/Bugs
- Replies: 581
- Views: 192827
Re: Errors/Warnings/Bugs
I appear to be unable to delete private messages. I mark 2 of them, select "Delete marked" and click "Go". I get a message saying "The submitted form was invalid. Try submitting again."
- Mon Apr 27, 2020 7:18 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 713
- Replies: 19
- Views: 4844
Re: Problem 713
From https://en.wikipedia.org/wiki/Series_and_parallel_circuits In a series circuit, every device must function for the circuit to be complete. If one bulb burns out in a series circuit, the entire circuit is broken. From this problem: The electrical system uses two fuses in series,... For the heati...
- Mon Apr 27, 2020 6:13 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 713
- Replies: 19
- Views: 4844
Re: Problem 713
I believe the N fuses are replacements. The only circuit has 2 fuses in series. Choose 2 replacements and, if both fuses are good, there's a closed circuit and everything works. Otherwise, there's no power. He keeps trying a different pair until he finds a pair that works.
- Tue Apr 21, 2020 1:49 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 351
- Replies: 21
- Views: 14223
Re: Problem 351
I don't think people often return to the solution threads. What I've done in the past is ask the question in the solutions thread, then post a message in these forums directing people to the question.
- Sun Apr 12, 2020 1:55 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 711
- Replies: 6
- Views: 2568
Re: Problem 711
Got it. That's the part I was missing. Thanks.
- Sat Apr 11, 2020 9:36 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 711
- Replies: 6
- Views: 2568
Problem 711
Am I missing something here? Let's say n=1. Oscar writes "10". Eric can't write any number without exceeding 2. There is one 1. Oscar wins. Yet in the problem statement, Eric guarantees a win.
- Thu Feb 20, 2020 12:40 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 135
- Replies: 29
- Views: 13935
Re: Problem 135
$5^2-3^2-1^2=15$. 15 has at least 3 solutions.DanielJackson wrote: ↑Wed Feb 19, 2020 11:28 pm n = a*b, a > b
Let n = 15 = 15*1 = 5*3
1. a = 15, b = 1 => d = 4, 19^2 - 15^2 - 11^2 = 15
2. a = 5, b = 3 => d = 2, 7^2 - 5^2 - 3^2 = 15
n = 15 has exactly 2 solutions and 15 < 27 (by condition). Where am I wrong?
- Sun Dec 22, 2019 6:39 pm
- Forum: News, Suggestions, and FAQ
- Topic: Errors/Warnings/Bugs
- Replies: 581
- Views: 192827
Re: Errors/Warnings/Bugs
I probably should have noted when this happened, but one of my last times attempting to access the forums, I instead got something on the bottom of the screen asking "What do you want to do with index.php?", giving me the option to open, save, or cancel. And now when I try to pin or unpin ...
- Tue Nov 12, 2019 9:56 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 688
- Replies: 8
- Views: 3089
Re: Problem 688
What "new plates"? You take n plates and divide them into k piles. For each calculation of f(n,k), the total number of plates is fixed.
- Sat Nov 09, 2019 3:08 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 082
- Replies: 22
- Views: 11294
Re: Problem 082
I think the way the sentence is structured can cause confusion. Namely
This could be interpreted to mean the matrix is given one column at a time.a 31K text file containing a 80 by 80 matrix, from the left column to the right column.
- Mon Nov 04, 2019 10:15 pm
- Forum: News, Suggestions, and FAQ
- Topic: Errors/Warnings/Bugs
- Replies: 581
- Views: 192827
Re: Errors/Warnings/Bugs
This site's been down quite a bit lately it seems. Some sort of SQL error, not always the same each time.
- Tue Sep 24, 2019 8:50 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 669
- Replies: 5
- Views: 5105
Re: Problem 669
The program was working correctly. All the hand calculations were correct. One simple mistake on a limit of summation threw everything else off. My thanks to RobertStanforth for lending an ear. If I hadn't had to lay everything out to someone else, regardless of whether or not he actually reads all ...