public static void main(String[] args){
int max = 73;
List<Pattern> pats = new ArrayList<Pattern>();
Integer[][] patterns = new Integer[][]{{27,56}, {8,70,68,66,17,19,9,53,15,44,40,3,64,46,58,34,56,50,38,60,32,54,5,23,62,42,72,37,13,48,11,22,26,2}, {2,26,68,66,17,13,37,72,42,62,23,3,54,32,60,38,50,56,34,58,46,64,7,40,44,15,53,9,19,11,22,49,70}, {4,2,26,22,11,48,13,37,72,42,62,23,64,54,60,38,50,56,34,46,58,5,40,44,15,53,9,19,17,66,68,70,8}, {4,70,49,22,11,19,9,53,15,44,40,7,58,46,34,56,50,38,60,54,64,23,62,42,72,37,13,17,66,68,26,2}, {4,70,68,11,17,13,37,53,15,44,40,7,54,60,38,50,56,34,46,58,23,62,42,72,25,9,19,21,66,49,2}, {68,11,17,13,37,53,15,29,62,54,58,60,38,50,56,34,46,5,23,44,42,72,25,9,19,21,66}, {2,70,49,66,21,19,37,53,15,44,40,3,46,34,56,50,38,60,54,7,62,42,72,25,9,17,11,68,14,24}, {50}};
for(int i = 0;i<patterns.length;i++){
pats.add(new Pattern());
}
List<Pattern> results = new ArrayList<Pattern>();
for(int i=0;i<pats.size();i++){
primePattern(pats.get(i), patterns[i]);