Checking the form of b + na
num2 = b + ( c2 * a ) ; if ( isPrime ( num2 ) ) { st . add ( num2 ) ; } c2 ++ ; } st = [ ... st ] . sort ( ( a , b ) => a - b ) for ( let i of st ) document . write ( i + " " ) ; }