Iterate over all possible pairs of the array pows [ ]
for ( let i = 0 ; i < pows . length ; i ++ ) { for ( let j = 0 ; j < pows . length ; j ++ ) { if ( pows [ i ] + pows [ j ] <= R && pows [ i ] + pows [ j ] >= L ) {