Talk:Proper divisors: Difference between revisions

Content deleted Content added
Rdm (talk | contribs)
Line 10:
::::I like the classification task, but this one seems like a very small change vs. divisors ([[Factors of an integer]]). If we have this, then why not restricted divisors (remove 1 and n) as well? It seems like the obvious implementation here is "get divisors using the other task, then remove n" which isn't very interesting (in my opinion). [[User:Danaj|Danaj]] ([[User talk:Danaj|talk]]) 14:33, 17 December 2014 (UTC)
:::::Actually, it's "get factors using the other task then remove n unless n is 1", which is... at least as interesting as fizzbuzz? But I think I see what you are getting at -- I would not want to see too many minor-variation tasks. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 17:30, 17 December 2014 (UTC)
::::::The "unless n is 1" has been corrected -- 1 is not an exception. Some sources include the negatives of the proper divisors as well, leading some to the definition including "...is a positive divisor...". The input 0 is another oddball case -- Wolfram/Alpha and Pari/GP don't agree on its divisors, for example. [[User:Danaj|Danaj]] ([[User talk:Danaj|talk]]) 18:43, 17 December 2014 (UTC)
 
== Definition ==
Return to "Proper divisors" page.