O'Halloran numbers: Difference between revisions

Content added Content deleted
(Added XPL0 example.)
m (→‎{{header|J}}: slightly cleaner)
Line 63: Line 63:
=={{header|J}}==
=={{header|J}}==
<syntaxhighlight lang=J> require'stats'
<syntaxhighlight lang=J> require'stats'
2*(3}.i.501)-.+/1 */\.(|:3 comb 502)+-.i.3
2*(3}.i.501)-.+/1 */\.(|:3 comb 502)-i:1
8 12 20 36 44 60 84 116 140 156 204 260 380 420 660 924</syntaxhighlight>
8 12 20 36 44 60 84 116 140 156 204 260 380 420 660 924</syntaxhighlight>