Talk:Abundant odd numbers: Difference between revisions

From Rosetta Code
Content added Content deleted
m (→‎task requirements: added wording.)
(It's a dupe)
Line 12: Line 12:


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

==Abundant numbers==

Actually, n is <strike>Nice</strike> an abundant number if the sum of its factors is greater than n.

Where did the term "Nice numbers" come from? Wikipedia never heard of Nice numbers (with this definition). Neither has Google (in this context).

However, there are a multitude of sources referring to these as [[wp:Abundant_numbers|abundant numbers or excessive numbers]].

Exactly like in the task [Abundant,_deficient_and_perfect_number_classifications] and the easy part of the task [Weird_numbers]. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 23:09, 16 May 2019 (UTC)

Revision as of 23:09, 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)

Abundant numbers

Actually, n is Nice an abundant number if the sum of its factors is greater than n.

Where did the term "Nice numbers" come from? Wikipedia never heard of Nice numbers (with this definition). Neither has Google (in this context).

However, there are a multitude of sources referring to these as abundant numbers or excessive numbers.

Exactly like in the task [Abundant,_deficient_and_perfect_number_classifications] and the easy part of the task [Weird_numbers]. --Thundergnat (talk) 23:09, 16 May 2019 (UTC)