Talk:Proper divisors: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Definition: new section)
(→‎Definition: One love.)
Line 8: Line 8:


A simple definition from Mathworld: "A positive proper divisor is a positive divisor of a number n, excluding n itself."
A simple definition from Mathworld: "A positive proper divisor is a positive divisor of a number n, excluding n itself."
: From which we see that 1 will always divide an integer without remainder. I make a point about mentioning 1 as a reference stated that sometimes the same term "proper divisors" is used when 1 is excluded. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 18:25, 16 December 2014 (UTC)

Revision as of 18:25, 16 December 2014

Dupe?

The explanation on the J implementation here makes a good point: is this task just a trivial change of Factors of an integer? --Mwn3d (talk) 17:09, 16 December 2014 (UTC)

Definition

I don't believe the definition used is correct. In particular "always includes 1" doesn't follow from the definition given at the linked site, or MathWorld or OEIS.

A simple definition from Mathworld: "A positive proper divisor is a positive divisor of a number n, excluding n itself."

From which we see that 1 will always divide an integer without remainder. I make a point about mentioning 1 as a reference stated that sometimes the same term "proper divisors" is used when 1 is excluded. --Paddy3118 (talk) 18:25, 16 December 2014 (UTC)