-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_small_sparse_Ys.py
11 lines (8 loc) · 1.24 KB
/
setup_small_sparse_Ys.py
1
2
3
4
5
6
7
8
9
10
import os
from os.path import exists
import sys
pairs = [(5, 29), (5, 41), (5, 61), (5, 89), (5, 101), (13, 101), (5, 109), (13, 113), (5, 149), (13, 157), (13, 173), (5, 181), (13, 181), (5, 229), (13, 233), (5, 241), (13, 257), (5, 269), (13, 269), (13, 277), (5, 281), (13, 313), (13, 337), (5, 349), (13, 373), (17, 373), (5, 389), (13, 389), (17, 389), (5, 401), (5, 409), (17, 409), (5, 421), (17, 421), (13, 433), (17, 433), (5, 449), (17, 457), (5, 461), (17, 461), (5, 509), (17, 509), (5, 521), (13, 521), (5, 541), (17, 557), (5, 569), (13, 569), (17, 569), (17, 577), (17, 593), (5, 601), (13, 601), (17, 613), (5, 641), (13, 641), (13, 653), (5, 661), (17, 661), (13, 673), (13, 677), (5, 701), (13, 701), (17, 701), (5, 709), (17, 733), (13, 757), (17, 757), (5, 761), (17, 761), (5, 769), (17, 769), (17, 773), (13, 797), (17, 797), (5, 809), (13, 809), (5, 821), (5, 829), (13, 829), (17, 829), (13, 857), (5, 881), (13, 881), (5, 929), (13, 937), (17, 937), (5, 941), (13, 953), (17, 953), (17, 977), (13, 997), (5, 1009), (13, 1013), (5, 1021), (17, 1021), (17, 1033)]
for (p,q) in pairs:
if not exists("Y/" + str(p) + "," + str(q) + ".p"):
os.system("python3 makeYadjmat.py " + str(p) + " " + str(q))
print("made Y^" + str(p) + "," + str(q))