Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
|
|
@ -0,0 +1,16 @@
|
|||
limit = 2000000
|
||||
for i to limit
|
||||
dsum[] &= 1
|
||||
dcnt[] &= 1
|
||||
.
|
||||
for i = 2 to limit
|
||||
j = i + i
|
||||
while j <= limit
|
||||
if dsum[j] = j
|
||||
print j & " equals the sum of its first " & dcnt[j] & " divisors"
|
||||
.
|
||||
dsum[j] += i
|
||||
dcnt[j] += 1
|
||||
j += i
|
||||
.
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue