improve performance by excluding numbers with an even digit or 5