http://beecoder.org/ja/java/display-factors-of-a-number-in-java
数値の因数の表示, Java