Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -5,12 +5,12 @@ do -- find some factorial primes - primes that are f - 1 or f + 1 for some fact
|
|||
|
||||
local f, fpCount, n = 1, 0, 0
|
||||
while fpCount < 10 do
|
||||
++ n
|
||||
n += 1
|
||||
f *= n
|
||||
local fpOp = "-"
|
||||
for fp = f - 1, f + 1, 2 do
|
||||
if int.isprime( fp ) then
|
||||
++ fpCount
|
||||
fpCount += 1
|
||||
fmt.write( "%2d:%4d! %s 1 = %d\n", fpCount, n, fpOp, fp )
|
||||
end
|
||||
fpOp = "+"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue