Anonymous user
Abundant odd numbers: Difference between revisions
m
→{{header|REXX}}: changed wording in the REXX section header.
m (→{{header|REXX}}: changed wording in the REXX section header.) |
|||
Line 5,347:
A wee bit of coding was added to add commas to numbers (because of the larger numbers) as well as alignment of the output.
The '''sigO''' function is a specialized version of the '''sigma''' function optimized just for ''odd'' numbers.
<lang rexx>/*REXX pgm displays abundant odd numbers: 1st 25, one─thousandth, first > 1 billion. */
parse arg Nlow Nuno Novr . /*obtain optional arguments from the CL*/
|