RosettaCodeData/Task/Arithmetic-Rational/J/arithmetic-rational-7.j

2 lines
59 B
Text
Raw Permalink Normal View History

2016-12-05 22:15:40 +01:00
is_perfect_rational=: 2 = (1 + i.) +/@:%@([ #~ 0 = |) ]