require'mathn'n=gets.to_ia=1(a+=2;a.prime?&&(a+2).prime?&&n-=1)while n>0$><<"#{a}, #{a+2}"
3
11, 13
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!