10 much faster using Prime.each with ubound