to check for twin prime numbers display th twin prime
for ( int i = 2 ; i <= n - 2 ; i ++ ) { if ( prime [ i ] == true && prime [ i + 2 ] == true ) System . out . print ( " ▁ ( " + i + " , ▁ " + ( i + 2 ) + " ) " ) ; } }