Sylvester's sequence: Difference between revisions
→{{header|J}}
No edit summary |
|||
Line 492:
J uses r instead of / to display rationals
<syntaxhighlight lang="j"> 2 ('Sum of reciprocals: ' , ":@:(+/))@:%@:([ echo&>)@:((, 1x +
2
3
|
No edit summary |
|||
Line 492:
J uses r instead of / to display rationals
<syntaxhighlight lang="j"> 2 ('Sum of reciprocals: ' , ":@:(+/))@:%@:([ echo&>)@:((, 1x +
2
3
|
edits