Talk:Abundant odd numbers: Difference between revisions

From Rosetta Code
Content added Content deleted
m (→‎task requirements: added a comment about capitalization.)
m (→‎task requirements: added wording.)
Line 2: Line 2:
'''N''' &nbsp; is a &nbsp; ''nice number'' &nbsp; if &nbsp; the sum of its factors is &nbsp; <big> > </big> &nbsp; '''N'''.
'''N''' &nbsp; is a &nbsp; ''nice number'' &nbsp; if &nbsp; the sum of its factors is &nbsp; <big> > </big> &nbsp; '''N'''.


The word &nbsp; '''nice''' &nbsp; shouldn't be capitalized &nbsp; (unless it's name after a person).
The word &nbsp; '''nice''' &nbsp; shouldn't be capitalized &nbsp; (unless it's name after a person or a location or somesuch).





Revision as of 22:22, 16 May 2019

task requirements

N   is a   nice number   if   the sum of its factors is   >   N.

The word   nice   shouldn't be capitalized   (unless it's name after a person or a location or somesuch).


Perhaps some requirements should be stated, such as:

  •   show the first   25   nice numbers   (with an index).
  •   optionally, show the sum of the nice number's factors.
  •   show all output here.

.... or something along those lines.     -- Gerard Schildberger (talk) 22:11, 16 May 2019 (UTC)