Re: nearly perfect oddness

From: Hal Finney (hal@finney.org)
Date: Fri May 17 2002 - 23:57:22 MDT


Spike writes:
> My odd nearly perfect number is 838553644228755.
> I get a sum of factors of 838553644228461. By the
> terminology I proposed a week ago, this would be
> known as a giga-damn-good number. I have another
> odd GDG number which is abundant. spike

I got the same answer. My Linux system has a built in program "factor":

% factor 838553644228755
838553644228755: 3 5 7 13 67 1451 6319111

and then I typed in a little Python script to add up all the products
of these:

% python
Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> a=[3L,5L,7L,13L,67L,1451L,6319111L]
>>> sum=0L
>>> for ind in range(127):
... prod=1L
... for bit in range(7):
... if (1<<bit)&ind:
... prod = prod * a[bit]
... sum = sum + prod
... print "sum=",sum,", prod=",prod
...

sum= 1L , prod= 1L
sum= 4L , prod= 3L
sum= 9L , prod= 5L
sum= 24L , prod= 15L
sum= 31L , prod= 7L
...
sum= 391325033973125L , prod= 55903576281917L
sum= 559035762818876L , prod= 167710728845751L
sum= 838553644228461L , prod= 279517881409585L

That one does look close to perfect. But close only counts in horseshoes
and dancing, we always used to say.

Hal



This archive was generated by hypermail 2.1.5 : Sat Nov 02 2002 - 09:14:10 MST