Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -5,10 +5,8 @@ do
|
|||
io.write( "2" )
|
||||
local product = 2
|
||||
for i = 2, 8 do
|
||||
local nextV = product + 1
|
||||
local nextV, p, found = product + 1, 3, false
|
||||
-- find the first prime factor of nextV
|
||||
local p = 3
|
||||
local found = false
|
||||
while p * p <= nextV and not found do
|
||||
found = nextV % p == 0
|
||||
if not found then p = p + 2 end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue