Ormiston triples: Difference between revisions
Content added Content deleted
(J) |
m (→{{header|J}}: typo) |
||
Line 196: | Line 196: | ||
=={{header|J}}== |
=={{header|J}}== |
||
Taking the laziest approach here, we'll use the definition of [[Ormiston_pairs#J|<code>isorm</code>]] from the |
Taking the laziest approach here, we'll use the definition of [[Ormiston_pairs#J|<code>isorm</code>]] from the Ormiston pairs task: |
||
<syntaxhighlight lang=J> omt=: (#~ isorm) _4 p: (#~ isorm) i.&.(p:inv) 1e9 |
<syntaxhighlight lang=J> omt=: (#~ isorm) _4 p: (#~ isorm) i.&.(p:inv) 1e9 |
||
#omt NB. number of ormiston triples less than a billion |
#omt NB. number of ormiston triples less than a billion |