Talk:Next special primes: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "== OK, I'm confused... == The task description is not very clear, what are the "successive terms" ?<br> My reading of the definition agrees with the Pascal output for "next i...")
 
(→‎OK, I'm confused...: use br tags, not p)
Line 5: Line 5:
<p>
<p>
I can see why the sequence might be 3-5, 5-11, 11-19, etc. but I don't see why that is what the task requires.
I can see why the sequence might be 3-5, 5-11, 11-19, etc. but I don't see why that is what the task requires.
<br><br>Also, the Ring entry shows: 3-5, 11-19, 29-41, etc. i.e. 5-11 is not present.
<p>
<br><br>
Also, the Ring entry shows: 3-5, 11-19, 29-41, etc. i.e. 5-11 is not present.
<p>
Can anyone explain this?
Can anyone explain this?
<br>
<br>

Revision as of 19:28, 27 March 2021

OK, I'm confused...

The task description is not very clear, what are the "successive terms" ?
My reading of the definition agrees with the Pascal output for "next increasing prime gap".

I can see why the sequence might be 3-5, 5-11, 11-19, etc. but I don't see why that is what the task requires.

Also, the Ring entry shows: 3-5, 11-19, 29-41, etc. i.e. 5-11 is not present.

Can anyone explain this?
BTW, I showed this to someone else and they suggested the answer was "2" because this is the smallest prime...