hey!
there's something i would like to ask you guys...
i am having a problem on how to print the first 30 twin primes...
for those who don't know what twin primes are...those are pair of prime numbers that have a difference of two...
i am aiming for the result of:
(3,5)
(5,7)
(11,13)
(17,19) and so on...
but i dont have any idea on how to make a program of it...
there was someone who helped me make it but we only managed to print pairs of odd numbers upto 97...
i would really appreciate your help...
thanks
there's something i would like to ask you guys...
i am having a problem on how to print the first 30 twin primes...
for those who don't know what twin primes are...those are pair of prime numbers that have a difference of two...
i am aiming for the result of:
(3,5)
(5,7)
(11,13)
(17,19) and so on...
but i dont have any idea on how to make a program of it...
there was someone who helped me make it but we only managed to print pairs of odd numbers upto 97...
i would really appreciate your help...
thanks
Comment