Update app/models/puzzle.rb

fix formula - need to count less numbers instead of greater