Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > mathnライブラリ > Integerクラス > prime_division

instance method Integer#prime_division

prime_division [added by mathn]

[TODO]

各素因子について素因子と指数の組を並べた配列を返します。

例:

72.prime_division
# => [[2, 3], [3, 2]]
class Integer