Sylvester's sequence: Difference between revisions

m
→‎{{header|REXX}}: changed a comment.
(→‎{{header|REXX}}: added the computer programming language REXX.)
m (→‎{{header|REXX}}: changed a comment.)
Line 309:
 
=={{header|REXX}}==
<lang rexx>/*REXX pgm finds/displays N terms of the Sylvester's sequence and& the sum of the their reciprocals.*/
parse arg n . /*obtain optional argument from the CL.*/
if n=='' | n=="," then n= 10 /*Not specified? Then use the default.*/