From: Paolo Capriotti
Date: 2005-12-04T09:14:37+09:00
Subject: Re: Weird Numbers (#57)
On 12/4/05, Nathan wrote:
>
> True, the only factors of 836 are 2, 11, and 19. I just meant to point
> out that those are definitely the only factors because 2^2 * 11^1 *
> 19^1 = 836. That said, does 836 have any other divisors besides 2, 11,
> 19, 22, 38, and 209? I don't see how it could, but I would love to be
> proved wrong.
irb(main):001:0> (1..836).select{|d| 836 % d == 0}
=> [1, 2, 4, 11, 19, 22, 38, 44, 76, 209, 418, 836]
> Mostly I just want to know if the list posted previously is accurate or
> not.
I think it is.
Paolo