ピーターの問題
https://twitter.com/keisei_otsuka/status/1223841916405440512 https://gyazo.com/036108b185f0c0a6c97da287883e7a81
code:peter.rb
(1..9).to_a.permutation { |a|
v = (a0 * 1.0 / (a1 * 10 + a2)) + (a3 * 1.0 / (a4 * 10 + a5)) + (a6 * 1.0 / (a7 * 10 + a8)) if v > 0.99999 && v < 1.00001
end
}