Sexy Primes are pairs of numbers
(n, m) such as
m both are prime, and
m = n + 6.
You need to create a function which will take an integer, check for sexy primes from 0 to that integer, and return an array of arrays.
listSexy(30) must return
[[5,11], [7,13], [11,17], [13,19], [17,23], [23,29]] or some equivalent.
This is code-golf so the program with the shortest bytecount wins!