cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Non-overlapping with Twin, Cousine, Triplet - Single Prime - .

lvl107
20-Turquoise

Non-overlapping with Twin, Cousine, Triplet - Single Prime - .

Hello, Everyone.

Twin%2C+Cousine%2C+Triplet%2C+Single+Prime+.PNG

Thanks in advance for your time and help.

Best Regards.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:lvl107)

Simply run through your vector P and pick every value with a distance of more than 4 from both its neighbours. ANd what will you do with that list now???

BTW, the second nextPrime() routine in my last sheet here http://communities.ptc.com/message/237185#237185 was erraneous, simply delete it.

19.03.png

PS. Any reason for excuding 2 and 3 from your list of primes?

View solution in original post

1 REPLY 1
Werner_E
25-Diamond I
(To:lvl107)

Simply run through your vector P and pick every value with a distance of more than 4 from both its neighbours. ANd what will you do with that list now???

BTW, the second nextPrime() routine in my last sheet here http://communities.ptc.com/message/237185#237185 was erraneous, simply delete it.

19.03.png

PS. Any reason for excuding 2 and 3 from your list of primes?

Announcements

Top Tags