Replace attr_accessor with attr_reader for :ary, and write custom writer method that resets @divisors when a new array is declared; define reset_divisors method