primeperf.rb with more succinct composite number filter.