Calculate and print the prime numbers between 2 and N. Use filter.