Function to print the required sequence of integers
function printSeries ( n ) { SieveOfEratosthenes ( MAX_PRIME ) ; let i , g , k , l , m , d ; let ar = new Array ( I_MAX + 2 ) ; for ( i = 0 ; i < j ; i ++ ) { if ( ( b [ i ] * b [ i + 1 ] ) > limit ) break ;