prime_division(generator = Prime::Generator23.new) -> [[Integer, Integer]]
[permalink][rdoc] [added by prime]
自身を素因数分解した結果を返します。
[SEE_ALSO] Prime#prime_division
例:
require 'prime' 12.prime_division #=> [[2,2], [3,1]] 10.prime_division #=> [[2,1], [5,1]]