Arithmetic numbers: Difference between revisions

Content added Content deleted
(→‎{{header|J}}: change examples to match the updated (or maybe "fixed") task description.)
m (→‎{{header|J}}: use 1+ instead of >: (easier for people not familiar with J to read))
Line 87: Line 87:


Task examples:
Task examples:
<lang J> example=: >:I.isArith>:i.2e6
<lang J> example=: 1+I.isArith 1+i.2e6
10 10$example
10 10$example
1 3 5 6 7 11 13 14 15 17
1 3 5 6 7 11 13 14 15 17