First 9 prime Fibonacci number

say 12.by { .fib.is_prime }.map { .fib }

Output:

[2, 3, 5, 13, 89, 233, 1597, 28657, 514229, 433494437, 2971215073, 99194853094755497]

Last updated