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

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

Duplicate Function for Twin or Cousin (Primes).

lvl107
20-Turquoise

Duplicate Function for Twin or Cousin (Primes).

Hello All,

I have a similar question with "Duplicate Function" title, and need help. It's about "Duplicate Function for Twin or Cousin (Prime)".

A.PNG

Duplicate_TwinOrCousin(A).PNG

Thanks in advance.

Loi.

3 REPLIES 3
MikeArmstrong
5-Regular Member
(To:lvl107)

What are you looking for?

Your required function is extracting the first and last element of A, but that doesn't seem logical. They are twin and cousin prime numbers, but I can't see why you would extract them in that order.

Mike

lvl107
20-Turquoise
(To:MikeArmstrong)

Thanks for your remarks, Mike. Because of my rush, and the Input should be :

A.PNG

and the Output :

Duplicate_TwinOrCousin(A).PNG

Loi.

MikeArmstrong
5-Regular Member
(To:lvl107)

Sorry for my ignorance, bit I still can't see a link.

Please but me out of my misery.

Mike

Top Tags