(* Content-type: application/mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 6.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 145, 7] NotebookDataLength[ 94463, 2505] NotebookOptionsPosition[ 93469, 2473] NotebookOutlinePosition[ 93811, 2488] CellTagsIndexPosition[ 93768, 2485] WindowFrame->Normal ContainsDynamic->True *) (* Beginning of Notebook Content *) Notebook[{ Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"2", ",", "3", ",", "4", ",", "16"}], "}"}], ",", RowBox[{"{", RowBox[{"8", ",", "9"}], "}"}]}], "}"}], ";"}], "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"Dynamic", "[", RowBox[{"{", RowBox[{"j", ",", "i", ",", "g", ",", " ", "mark"}], "}"}], "]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Clear", "[", RowBox[{ "n", ",", "B", ",", "R", ",", "Tile", ",", "A", ",", "U", ",", "mark", ",", "T", ",", "g", ",", "x"}], "]"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"L", "=", RowBox[{"Expand", "[", RowBox[{ RowBox[{"Cyclotomic", "[", RowBox[{"2", ",", RowBox[{"x", "^", RowBox[{"(", "9", ")"}]}]}], "]"}], RowBox[{"Cyclotomic", "[", RowBox[{"4", ",", RowBox[{"x", "^", "9"}]}], "]"}], RowBox[{"Cyclotomic", "[", RowBox[{"3", ",", RowBox[{"x", "^", RowBox[{"(", "8", ")"}]}]}], "]"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"n", "=", "72"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"B", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", RowBox[{"Length", "[", "L", "]"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "2"}], ",", " ", RowBox[{"j", "\[LessEqual]", RowBox[{"Length", "[", "L", "]"}]}], ",", " ", RowBox[{ RowBox[{ RowBox[{"B", "[", RowBox[{"[", "j", "]"}], "]"}], "=", RowBox[{"Mod", "[", RowBox[{ RowBox[{"L", "[", RowBox[{"[", RowBox[{"j", ",", "2"}], "]"}], "]"}], ",", "n"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";"}], "\[IndentingNewLine]", RowBox[{"B", "\[Union]", RowBox[{"{", "}"}]}], "\[IndentingNewLine]", "\[IndentingNewLine]", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"(*", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"2", ",", "3", ",", "4", ",", "16"}], "}"}], ",", RowBox[{"{", RowBox[{"8", ",", "9"}], "}"}]}], "}"}], ";"}], "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"Dynamic", "[", RowBox[{"{", RowBox[{"j", ",", "i", ",", "g", ",", " ", "mark"}], "}"}], "]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Clear", "[", RowBox[{ "n", ",", "B", ",", "R", ",", "Tile", ",", "A", ",", "U", ",", "mark", ",", "T", ",", "g", ",", "x"}], "]"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"n", "=", "72"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"B", "=", RowBox[{"{", RowBox[{ "0", ",", "8", ",", "9", ",", "16", ",", "17", ",", "18", ",", "25", ",", "26", ",", "27", ",", "34", ",", "35", ",", "43"}], "}"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Length", "[", "B", "]"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"Tile", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", "1000000"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"R", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", "n"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"A", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{ RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}], ",", "n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"U", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"U", "[", RowBox[{"[", "1", "]"}], "]"}], "=", "B"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"mark", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"1", "&"}], ",", RowBox[{ RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}], "+", "1"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"T", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{ RowBox[{"{", "0", "}"}], "&"}], ",", RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"g", "=", "1"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", " ", RowBox[{"i", ">", "0"}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"Length", "[", RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], "]"}], "\[Equal]", "n"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"Tile", "[", RowBox[{"[", "g", "]"}], "]"}], "=", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Union]", RowBox[{"{", "}"}]}]}], ";", RowBox[{"g", "=", RowBox[{"g", "+", "1"}]}], ";", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "-", "1"}], "]"}], "]"}]}], ";", RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", " ", RowBox[{"j", "\[LessEqual]", "n"}], ",", RowBox[{ RowBox[{"k", "=", "100"}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"Not", "[", RowBox[{"MemberQ", "[", RowBox[{ RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"Mod", "[", RowBox[{"j", ",", "n"}], "]"}]}], "]"}], "]"}], ",", " ", RowBox[{ RowBox[{"k", "=", "0"}], ";", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"m", "=", "1"}], ",", " ", RowBox[{"m", "\[LessEqual]", RowBox[{"Length", "[", "B", "]"}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Intersection]", " ", RowBox[{"Mod", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{"j", "-", RowBox[{"B", "[", RowBox[{"[", "m", "]"}], "]"}]}], ")"}], "+", "B"}], ",", "n"}], "]"}]}], "\[Equal]", RowBox[{"{", "}"}]}], ",", " ", RowBox[{ RowBox[{"k", "=", RowBox[{"k", "+", "1"}]}], ";", " ", RowBox[{ RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "j", ",", "m"}], "]"}], "]"}], "=", RowBox[{"Mod", "[", RowBox[{ RowBox[{"j", "-", RowBox[{"B", "[", RowBox[{"[", "m", "]"}], "]"}]}], ",", "n"}], "]"}]}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"m", "++"}]}]}], "]"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{ RowBox[{"R", "[", RowBox[{"[", "j", "]"}], "]"}], "=", "k"}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"min", "=", RowBox[{"Min", "[", "R", "]"}]}], ";", " ", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"(", RowBox[{"Not", "[", RowBox[{"min", "\[Equal]", "0"}], "]"}], ")"}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"t", "=", RowBox[{"Catch", "[", RowBox[{"Do", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"R", "[", RowBox[{"[", "ii", "]"}], "]"}], "\[Equal]", "min"}], ",", " ", RowBox[{"Throw", "[", "ii", "]"}]}], "]"}], ",", RowBox[{"{", RowBox[{"ii", ",", "n"}], "}"}]}], "]"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "\[LessEqual]", RowBox[{"Length", "[", "B", "]"}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"b", "=", RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}]}], ",", " ", RowBox[{"b", "<=", RowBox[{"Length", "[", "B", "]"}]}], ",", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"b", "+", "1"}]}], ";", RowBox[{"z", "=", "0"}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"Not", "[", RowBox[{ RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "t", ",", "b"}], "]"}], "]"}], "\[Equal]", "200"}], "]"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"U", "[", RowBox[{"[", RowBox[{"i", "+", "1"}], "]"}], "]"}], "=", RowBox[{ RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Union]", RowBox[{"Mod", "[", RowBox[{ RowBox[{ RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "t", ",", "b"}], "]"}], "]"}], "+", "B"}], ",", "n"}], "]"}]}]}], ";", " ", RowBox[{ RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "+", "1"}], "]"}], "]"}], "=", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Union]", RowBox[{"{", RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "t", ",", "b"}], "]"}], "]"}], "}"}]}]}], ";", " ", RowBox[{"b", "=", RowBox[{ RowBox[{"Length", "[", "B", "]"}], "+", "1"}]}], ";", RowBox[{"z", "=", "1"}], ";", RowBox[{"i", "=", RowBox[{"i", "+", "1"}]}], ";"}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"b", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"z", "==", "0"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}]}], "]"}], ";"}], "\[IndentingNewLine]", ",", " ", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "-", "1"}], "]"}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}]}], "]"}], ";"}], "\[IndentingNewLine]", ",", " ", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "-", "1"}], "]"}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}]}], "]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"Tile", "=", RowBox[{"Drop", "[", RowBox[{ RowBox[{"Tile", "\[Union]", RowBox[{"{", "}"}]}], ",", "1"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"Length", "[", "Tile", "]"}], "\[IndentingNewLine]", RowBox[{"Tile", ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"H", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{ RowBox[{"{", "0", "}"}], "&"}], ",", RowBox[{ RowBox[{"Length", "[", RowBox[{"Tile", "[", RowBox[{"[", "1", "]"}], "]"}], "]"}], "+", "1"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"K", "=", RowBox[{"Tile", "[", RowBox[{"[", "3", "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", " ", RowBox[{"j", "\[LessEqual]", RowBox[{"Length", "[", "K", "]"}]}], ",", " ", "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"H", "[", RowBox[{"[", RowBox[{"j", "+", "1"}], "]"}], "]"}], "=", RowBox[{"Mod", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"K", "[", RowBox[{"[", "j", "]"}], "]"}], "+", "B"}], ")"}], "\[Union]", " ", RowBox[{"H", "[", RowBox[{"[", "j", "]"}], "]"}]}], ",", "n"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"H", "[", RowBox[{"[", RowBox[{ RowBox[{"Length", "[", "K", "]"}], "+", "1"}], "]"}], "]"}], "\[Union]", RowBox[{"{", "}"}]}], " ", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", " ", RowBox[{"j", "\[LessEqual]", RowBox[{"Length", "[", "Tile", "]"}]}], ",", " ", RowBox[{ RowBox[{"P", "=", RowBox[{"Tile", "[", RowBox[{"[", "j", "]"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "2"}], ",", " ", RowBox[{"i", "<=", RowBox[{"Length", "[", "P", "]"}]}], ",", " ", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"MemberQ", "[", RowBox[{"Tile", ",", RowBox[{ RowBox[{"Mod", "[", RowBox[{ RowBox[{"P", "-", RowBox[{"P", "[", RowBox[{"[", "i", "]"}], "]"}]}], ",", "n"}], "]"}], "\[Union]", RowBox[{"{", "}"}]}]}], "]"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"Tile", "[", RowBox[{"[", "j", "]"}], "]"}], "=", "0"}], ";", RowBox[{"i", "=", RowBox[{ RowBox[{"Length", "[", "P", "]"}], "+", "1"}]}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"i", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";"}], " ", "\[IndentingNewLine]", RowBox[{ RowBox[{"Tile", "=", RowBox[{"Drop", "[", RowBox[{ RowBox[{"Tile", "\[Union]", RowBox[{"{", "}"}]}], ",", "1"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"Length", "[", "Tile", "]"}], "\[IndentingNewLine]", RowBox[{"Tile", ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"(*", RowBox[{ RowBox[{ "So", " ", "we", " ", "have", " ", "all", " ", "tiles", " ", "modulo", " ", "72.", " ", "Now", " ", "we", " ", "sholuld", " ", "shift", " ", "the", " ", "elements", " ", "by", " ", "multiples", " ", "of", " ", "72"}], ",", " ", RowBox[{ "to", " ", "get", " ", "all", " ", "tiles", " ", "mod", " ", "144.", " ", "But", " ", "instead", " ", "i", " ", "shift", " ", "the", " ", "whole", " ", "set", " ", "B", " ", "below"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"and", " ", "run", " ", "the", " ", "fill"}], "-", RowBox[{"out", " ", "for", " ", "n"}]}], "=", RowBox[{"144.", " ", "It", " ", "is", " ", "the", " ", RowBox[{"same", "."}]}]}]}], " ", "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"(*", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"2", ",", "3", ",", "4", ",", "16"}], "}"}], ",", RowBox[{"{", RowBox[{"8", ",", "9"}], "}"}]}], "}"}], ";"}], "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"Dynamic", "[", RowBox[{"{", RowBox[{"j", ",", "i", ",", "g", ",", " ", "mark"}], "}"}], "]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Clear", "[", RowBox[{ "n", ",", "B", ",", "R", ",", "Tile", ",", "A", ",", "U", ",", "mark", ",", "T", ",", "g", ",", "x"}], "]"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"n", "=", "144"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"B", "=", RowBox[{"{", RowBox[{ "0", ",", "8", ",", "9", ",", "16", ",", "17", ",", "18", ",", "25", ",", "26", ",", "27", ",", "34", ",", "35", ",", "43"}], "}"}]}], "\[IndentingNewLine]", RowBox[{"B", "=", RowBox[{"B", "\[Union]", RowBox[{"(", RowBox[{"72", "+", "B"}], ")"}]}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Length", "[", "B", "]"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"Tile", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", "1000000"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"R", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", "n"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"A", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{ RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}], ",", "n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"U", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"U", "[", RowBox[{"[", "1", "]"}], "]"}], "=", "B"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"mark", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"1", "&"}], ",", RowBox[{ RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}], "+", "1"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"T", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{ RowBox[{"{", "0", "}"}], "&"}], ",", RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"g", "=", "1"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", " ", RowBox[{"i", ">", "0"}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"Length", "[", RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], "]"}], "\[Equal]", "n"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"Tile", "[", RowBox[{"[", "g", "]"}], "]"}], "=", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Union]", RowBox[{"{", "}"}]}]}], ";", RowBox[{"g", "=", RowBox[{"g", "+", "1"}]}], ";", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "-", "1"}], "]"}], "]"}]}], ";", RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", " ", RowBox[{"j", "\[LessEqual]", "n"}], ",", RowBox[{ RowBox[{"k", "=", "100"}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"Not", "[", RowBox[{"MemberQ", "[", RowBox[{ RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"Mod", "[", RowBox[{"j", ",", "n"}], "]"}]}], "]"}], "]"}], ",", " ", RowBox[{ RowBox[{"k", "=", "0"}], ";", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"m", "=", "1"}], ",", " ", RowBox[{"m", "\[LessEqual]", RowBox[{"Length", "[", "B", "]"}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Intersection]", " ", RowBox[{"Mod", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{"j", "-", RowBox[{"B", "[", RowBox[{"[", "m", "]"}], "]"}]}], ")"}], "+", "B"}], ",", "n"}], "]"}]}], "\[Equal]", RowBox[{"{", "}"}]}], ",", " ", RowBox[{ RowBox[{"k", "=", RowBox[{"k", "+", "1"}]}], ";", " ", RowBox[{ RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "j", ",", "m"}], "]"}], "]"}], "=", RowBox[{"Mod", "[", RowBox[{ RowBox[{"j", "-", RowBox[{"B", "[", RowBox[{"[", "m", "]"}], "]"}]}], ",", "n"}], "]"}]}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"m", "++"}]}]}], "]"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{ RowBox[{"R", "[", RowBox[{"[", "j", "]"}], "]"}], "=", "k"}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"min", "=", RowBox[{"Min", "[", "R", "]"}]}], ";", " ", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"(", RowBox[{"Not", "[", RowBox[{"min", "\[Equal]", "0"}], "]"}], ")"}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"t", "=", RowBox[{"Catch", "[", RowBox[{"Do", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"R", "[", RowBox[{"[", "ii", "]"}], "]"}], "\[Equal]", "min"}], ",", " ", RowBox[{"Throw", "[", "ii", "]"}]}], "]"}], ",", RowBox[{"{", RowBox[{"ii", ",", "n"}], "}"}]}], "]"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "\[LessEqual]", RowBox[{"Length", "[", "B", "]"}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"b", "=", RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}]}], ",", " ", RowBox[{"b", "<=", RowBox[{"Length", "[", "B", "]"}]}], ",", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"b", "+", "1"}]}], ";", RowBox[{"z", "=", "0"}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"Not", "[", RowBox[{ RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "t", ",", "b"}], "]"}], "]"}], "\[Equal]", "200"}], "]"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"U", "[", RowBox[{"[", RowBox[{"i", "+", "1"}], "]"}], "]"}], "=", RowBox[{ RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Union]", RowBox[{"Mod", "[", RowBox[{ RowBox[{ RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "t", ",", "b"}], "]"}], "]"}], "+", "B"}], ",", "n"}], "]"}]}]}], ";", " ", RowBox[{ RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "+", "1"}], "]"}], "]"}], "=", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Union]", RowBox[{"{", RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "t", ",", "b"}], "]"}], "]"}], "}"}]}]}], ";", " ", RowBox[{"b", "=", RowBox[{ RowBox[{"Length", "[", "B", "]"}], "+", "1"}]}], ";", RowBox[{"z", "=", "1"}], ";", RowBox[{"i", "=", RowBox[{"i", "+", "1"}]}], ";"}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"b", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"z", "==", "0"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}]}], "]"}], ";"}], "\[IndentingNewLine]", ",", " ", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "-", "1"}], "]"}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}]}], "]"}], ";"}], "\[IndentingNewLine]", ",", " ", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "-", "1"}], "]"}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}]}], "]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"Tile", "=", RowBox[{"Drop", "[", RowBox[{ RowBox[{"Tile", "\[Union]", RowBox[{"{", "}"}]}], ",", "1"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"Length", "[", "Tile", "]"}], "\[IndentingNewLine]", RowBox[{"Tile", ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"H", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{ RowBox[{"{", "0", "}"}], "&"}], ",", RowBox[{ RowBox[{"Length", "[", RowBox[{"Tile", "[", RowBox[{"[", "1", "]"}], "]"}], "]"}], "+", "1"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"K", "=", RowBox[{"Tile", "[", RowBox[{"[", "3", "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", " ", RowBox[{"j", "\[LessEqual]", RowBox[{"Length", "[", "K", "]"}]}], ",", " ", "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"H", "[", RowBox[{"[", RowBox[{"j", "+", "1"}], "]"}], "]"}], "=", RowBox[{"Mod", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"K", "[", RowBox[{"[", "j", "]"}], "]"}], "+", "B"}], ")"}], "\[Union]", " ", RowBox[{"H", "[", RowBox[{"[", "j", "]"}], "]"}]}], ",", "n"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"H", "[", RowBox[{"[", RowBox[{ RowBox[{"Length", "[", "K", "]"}], "+", "1"}], "]"}], "]"}], "\[Union]", RowBox[{"{", "}"}]}], " ", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", " ", RowBox[{"j", "\[LessEqual]", RowBox[{"Length", "[", "Tile", "]"}]}], ",", " ", RowBox[{ RowBox[{"P", "=", RowBox[{"Tile", "[", RowBox[{"[", "j", "]"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "2"}], ",", " ", RowBox[{"i", "<=", RowBox[{"Length", "[", "P", "]"}]}], ",", " ", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"MemberQ", "[", RowBox[{"Tile", ",", RowBox[{ RowBox[{"Mod", "[", RowBox[{ RowBox[{"P", "-", RowBox[{"P", "[", RowBox[{"[", "i", "]"}], "]"}]}], ",", "n"}], "]"}], "\[Union]", RowBox[{"{", "}"}]}]}], "]"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"Tile", "[", RowBox[{"[", "j", "]"}], "]"}], "=", "0"}], ";", RowBox[{"i", "=", RowBox[{ RowBox[{"Length", "[", "P", "]"}], "+", "1"}]}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"i", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";"}], " ", "\[IndentingNewLine]", RowBox[{ RowBox[{"Tile", "=", RowBox[{"Drop", "[", RowBox[{ RowBox[{"Tile", "\[Union]", RowBox[{"{", "}"}]}], ",", "1"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"Length", "[", "Tile", "]"}], "\[IndentingNewLine]", "Tile", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"(*", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"2", ",", "3", ",", "4", ",", "16"}], "}"}], ",", RowBox[{"{", RowBox[{"8", ",", "9"}], "}"}]}], "}"}], ";"}], "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{ RowBox[{"There", " ", "remains", " ", "95", " ", RowBox[{"tiles", ".", " ", "I"}], " ", RowBox[{"don", "'"}], "t", " ", "even", " ", "select", " ", "them", " ", "into", " ", "Fourier"}], "-", RowBox[{ "zero", " ", "classes", " ", "but", " ", "run", " ", "the", " ", "maxperiod", " ", "procedure", " ", "at", " ", "once", " ", "for", " ", "all", " ", "of", " ", RowBox[{"them", "."}]}]}], " ", "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"Dynamic", "[", RowBox[{"{", RowBox[{ "jj", ",", "j", ",", "i", ",", "g", ",", " ", "mark", ",", " ", "rr"}], "}"}], "]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Clear", "[", RowBox[{ "n", ",", "J", ",", "B", ",", "R", ",", "Tile", ",", "A", ",", "U", ",", "mark", ",", "T", ",", "g", ",", "x"}], "]"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"n", "=", "144"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"J", "=", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"0", ",", "28", ",", "52", ",", "76", ",", "96", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "42", ",", "75", ",", "78", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "48", ",", "78", ",", "84", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "51", ",", "75", ",", "87", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "51", ",", "84", ",", "87", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "51", ",", "87", ",", "102", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "57", ",", "78", ",", "93", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "57", ",", "87", ",", "93", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "57", ",", "93", ",", "96", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "57", ",", "93", ",", "105", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "60", ",", "75", ",", "96", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "60", ",", "84", ",", "96", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "60", ",", "93", ",", "96", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "60", ",", "96", ",", "102", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "66", ",", "78", ",", "102", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "66", ",", "87", ",", "102", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "66", ",", "96", ",", "102", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "66", ",", "102", ",", "105", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "69", ",", "75", ",", "105", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "69", ",", "84", ",", "105", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "69", ",", "93", ",", "105", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "36", ",", "69", ",", "102", ",", "105", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "42", ",", "75", ",", "78", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "51", ",", "75", ",", "87", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "60", ",", "75", ",", "96", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "39", ",", "69", ",", "75", ",", "105", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "39", ",", "75", ",", "78", ",", "108", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "39", ",", "75", ",", "87", ",", "108", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "39", ",", "75", ",", "96", ",", "108", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "39", ",", "75", ",", "105", ",", "108", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "42", ",", "48", ",", "78", ",", "84", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "42", ",", "57", ",", "78", ",", "93", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "42", ",", "66", ",", "78", ",", "102", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "42", ",", "75", ",", "78", ",", "108", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "42", ",", "78", ",", "84", ",", "108", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "42", ",", "78", ",", "93", ",", "108", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "42", ",", "78", ",", "102", ",", "108", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "44", ",", "68", ",", "92", ",", "96", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "51", ",", "84", ",", "87", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "52", ",", "76", ",", "96", ",", "100"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "60", ",", "84", ",", "96", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "68", ",", "92", ",", "96", ",", "116"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "48", ",", "69", ",", "84", ",", "105", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "48", ",", "76", ",", "96", ",", "100", ",", "124"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "48", ",", "78", ",", "84", ",", "108", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "48", ",", "84", ",", "87", ",", "108", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "48", ",", "84", ",", "96", ",", "108", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "48", ",", "84", ",", "105", ",", "108", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "48", ",", "92", ",", "96", ",", "116", ",", "140"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "51", ",", "57", ",", "87", ",", "93", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "51", ",", "66", ",", "87", ",", "102", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "51", ",", "75", ",", "87", ",", "108", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "51", ",", "84", ",", "87", ",", "108", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "51", ",", "87", ",", "93", ",", "108", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "51", ",", "87", ",", "102", ",", "108", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "52", ",", "76", ",", "96", ",", "100", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "57", ",", "60", ",", "93", ",", "96", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "57", ",", "69", ",", "93", ",", "105", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "57", ",", "78", ",", "93", ",", "108", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "57", ",", "87", ",", "93", ",", "108", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "57", ",", "93", ",", "96", ",", "108", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "57", ",", "93", ",", "105", ",", "108", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "60", ",", "66", ",", "96", ",", "102", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "60", ",", "75", ",", "96", ",", "108", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "60", ",", "84", ",", "96", ",", "108", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "60", ",", "93", ",", "96", ",", "108", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "60", ",", "96", ",", "102", ",", "108", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "66", ",", "69", ",", "102", ",", "105", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "66", ",", "78", ",", "102", ",", "108", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "66", ",", "87", ",", "102", ",", "108", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "66", ",", "96", ",", "102", ",", "108", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "66", ",", "102", ",", "105", ",", "108", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "68", ",", "92", ",", "96", ",", "116", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "69", ",", "75", ",", "105", ",", "108", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "69", ",", "84", ",", "105", ",", "108", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "69", ",", "93", ",", "105", ",", "108", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "69", ",", "102", ",", "105", ",", "108", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "75", ",", "78", ",", "108", ",", "111", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "75", ",", "87", ",", "108", ",", "111", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "75", ",", "96", ",", "108", ",", "111", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "75", ",", "105", ",", "108", ",", "111", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "76", ",", "96", ",", "100", ",", "120", ",", "124"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "78", ",", "84", ",", "108", ",", "114", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "78", ",", "93", ",", "108", ",", "114", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "78", ",", "102", ",", "108", ",", "114", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "84", ",", "87", ",", "108", ",", "120", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "84", ",", "96", ",", "108", ",", "120", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "84", ",", "105", ",", "108", ",", "120", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "87", ",", "93", ",", "108", ",", "123", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "87", ",", "102", ",", "108", ",", "123", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "92", ",", "96", ",", "116", ",", "120", ",", "140"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "93", ",", "96", ",", "108", ",", "129", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "93", ",", "105", ",", "108", ",", "129", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "96", ",", "102", ",", "108", ",", "132", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{ "0", ",", "102", ",", "105", ",", "108", ",", "138", ",", "141"}], "}"}]}], "}"}]}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"rr", "=", "1"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"gcd", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", RowBox[{"{", RowBox[{ RowBox[{"Length", "[", "J", "]"}], ",", RowBox[{"Length", "[", RowBox[{"J", "[", RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"kk", "=", "1"}], ",", RowBox[{"kk", "\[LessEqual]", RowBox[{"Length", "[", "J", "]"}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"mm", "=", "2"}], ",", RowBox[{"mm", "\[LessEqual]", RowBox[{"Length", "[", RowBox[{"J", "[", RowBox[{"[", "kk", "]"}], "]"}], "]"}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"gcd", "[", RowBox[{"[", RowBox[{"kk", ",", "mm"}], "]"}], "]"}], "=", RowBox[{"GCD", "[", RowBox[{ RowBox[{"gcd", "[", RowBox[{"[", RowBox[{"kk", ",", RowBox[{"mm", "-", "1"}]}], "]"}], "]"}], ",", RowBox[{"J", "[", RowBox[{"[", RowBox[{"kk", ",", "mm"}], "]"}], "]"}]}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"mm", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"kk", "++"}]}]}], "]"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"kk", "=", "1"}], ",", RowBox[{"kk", "\[LessEqual]", RowBox[{"Length", "[", "J", "]"}]}], ",", " ", RowBox[{ RowBox[{ RowBox[{"gcd", "[", RowBox[{"[", RowBox[{"kk", ",", RowBox[{"Length", "[", RowBox[{"J", "[", RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "]"}], "]"}], "=", RowBox[{"GCD", "[", RowBox[{ RowBox[{"gcd", "[", RowBox[{"[", RowBox[{"kk", ",", RowBox[{"Length", "[", RowBox[{"J", "[", RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "]"}], "]"}], ",", "n"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"kk", "++"}]}]}], "]"}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"maxperiod", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", RowBox[{"{", RowBox[{ RowBox[{"Length", "[", "J", "]"}], ",", "10000"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"jj", "=", "1"}], ",", " ", RowBox[{"jj", "\[LessEqual]", RowBox[{"Length", "[", "J", "]"}]}], ",", RowBox[{ RowBox[{"Clear", "[", RowBox[{ "B", ",", "R", ",", "Tile", ",", "A", ",", "U", ",", "mark", ",", "T", ",", "g", ",", "x"}], "]"}], ";", RowBox[{"n", "=", "144"}], ";", RowBox[{"n", "=", RowBox[{"n", "/", RowBox[{"gcd", "[", RowBox[{"[", RowBox[{"jj", ",", " ", RowBox[{"Length", "[", RowBox[{"J", "[", RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "]"}], "]"}]}]}], ";", RowBox[{"B", "=", RowBox[{ RowBox[{"J", "[", RowBox[{"[", "jj", "]"}], "]"}], "/", RowBox[{"gcd", "[", RowBox[{"[", RowBox[{"jj", ",", RowBox[{"Length", "[", RowBox[{"J", "[", RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "]"}], "]"}]}]}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"Tile", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", "100000"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"R", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", "n"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"A", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{ RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}], ",", "n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"U", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"0", "&"}], ",", RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}]}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{ RowBox[{"U", "[", RowBox[{"[", "1", "]"}], "]"}], "=", "B"}], ";", "\[IndentingNewLine]", RowBox[{"mark", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"1", "&"}], ",", RowBox[{ RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}], "+", "1"}]}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"T", "=", RowBox[{"Array", "[", RowBox[{ RowBox[{ RowBox[{"{", "0", "}"}], "&"}], ",", RowBox[{"n", "/", RowBox[{"Length", "[", "B", "]"}]}]}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"g", "=", "1"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", " ", RowBox[{"i", ">", "0"}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"Length", "[", RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], "]"}], "\[Equal]", "n"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"Tile", "[", RowBox[{"[", "g", "]"}], "]"}], "=", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Union]", RowBox[{"{", "}"}]}]}], ";", RowBox[{ RowBox[{"maxperiod", "[", RowBox[{"[", RowBox[{"jj", ",", "g"}], "]"}], "]"}], "=", "99"}], ";", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"ff", "=", RowBox[{ RowBox[{"Length", "[", RowBox[{"Divisors", "[", "n", "]"}], "]"}], "-", "1"}]}], ",", " ", RowBox[{"ff", ">", "0"}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{"Mod", "[", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"Divisors", "[", "n", "]"}], "[", RowBox[{"[", "ff", "]"}], "]"}], ")"}], "+", RowBox[{"Tile", "[", RowBox[{"[", "g", "]"}], "]"}]}], ")"}], ",", "n"}], "]"}], "\[Union]", RowBox[{"{", "}"}]}], "==", RowBox[{"Tile", "[", RowBox[{"[", "g", "]"}], "]"}]}], ",", RowBox[{ RowBox[{ RowBox[{"Tile", "[", RowBox[{"[", "g", "]"}], "]"}], "=", "0"}], ";", RowBox[{ RowBox[{"maxperiod", "[", RowBox[{"[", RowBox[{"jj", ",", "g"}], "]"}], "]"}], "=", RowBox[{ RowBox[{"Divisors", "[", "n", "]"}], "[", RowBox[{"[", "ff", "]"}], "]"}]}], ";", RowBox[{"ff", "=", "0"}], ";"}]}], "\[IndentingNewLine]", " ", "]"}], ";", "\[IndentingNewLine]", RowBox[{"ff", "=", RowBox[{"ff", "-", "1"}]}]}]}], "]"}], ";", "\[IndentingNewLine]", " ", RowBox[{"g", "=", RowBox[{"g", "+", "1"}]}], ";", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "-", "1"}], "]"}], "]"}]}], ";", RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", " ", RowBox[{"j", "\[LessEqual]", "n"}], ",", RowBox[{ RowBox[{"k", "=", "100"}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"Not", "[", RowBox[{"MemberQ", "[", RowBox[{ RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"Mod", "[", RowBox[{"j", ",", "n"}], "]"}]}], "]"}], "]"}], ",", " ", RowBox[{ RowBox[{"k", "=", "0"}], ";", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"m", "=", "1"}], ",", " ", RowBox[{"m", "\[LessEqual]", RowBox[{"Length", "[", "B", "]"}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Intersection]", " ", RowBox[{"Mod", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{"j", "-", RowBox[{"B", "[", RowBox[{"[", "m", "]"}], "]"}]}], ")"}], "+", "B"}], ",", "n"}], "]"}]}], "\[Equal]", RowBox[{"{", "}"}]}], ",", " ", RowBox[{ RowBox[{"k", "=", RowBox[{"k", "+", "1"}]}], ";", " ", RowBox[{ RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "j", ",", "m"}], "]"}], "]"}], "=", RowBox[{"Mod", "[", RowBox[{ RowBox[{"j", "-", RowBox[{"B", "[", RowBox[{"[", "m", "]"}], "]"}]}], ",", "n"}], "]"}]}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"m", "++"}]}]}], "]"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{ RowBox[{"R", "[", RowBox[{"[", "j", "]"}], "]"}], "=", "k"}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"min", "=", RowBox[{"Min", "[", "R", "]"}]}], ";", " ", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"(", RowBox[{"Not", "[", RowBox[{"min", "\[Equal]", "0"}], "]"}], ")"}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"t", "=", RowBox[{"Catch", "[", RowBox[{"Do", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"R", "[", RowBox[{"[", "ii", "]"}], "]"}], "\[Equal]", "min"}], ",", " ", RowBox[{"Throw", "[", "ii", "]"}]}], "]"}], ",", RowBox[{"{", RowBox[{"ii", ",", "n"}], "}"}]}], "]"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "\[LessEqual]", RowBox[{"Length", "[", "B", "]"}]}], ",", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"b", "=", RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}]}], ",", " ", RowBox[{"b", "<=", RowBox[{"Length", "[", "B", "]"}]}], ",", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"b", "+", "1"}]}], ";", RowBox[{"z", "=", "0"}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"Not", "[", RowBox[{ RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "t", ",", "b"}], "]"}], "]"}], "\[Equal]", "200"}], "]"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"U", "[", RowBox[{"[", RowBox[{"i", "+", "1"}], "]"}], "]"}], "=", RowBox[{ RowBox[{"U", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Union]", RowBox[{"Mod", "[", RowBox[{ RowBox[{ RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "t", ",", "b"}], "]"}], "]"}], "+", "B"}], ",", "n"}], "]"}]}]}], ";", " ", RowBox[{ RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "+", "1"}], "]"}], "]"}], "=", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Union]", RowBox[{"{", RowBox[{"A", "[", RowBox[{"[", RowBox[{"i", ",", "t", ",", "b"}], "]"}], "]"}], "}"}]}]}], ";", " ", RowBox[{"b", "=", RowBox[{ RowBox[{"Length", "[", "B", "]"}], "+", "1"}]}], ";", RowBox[{"z", "=", "1"}], ";", RowBox[{"i", "=", RowBox[{"i", "+", "1"}]}], ";"}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"b", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"z", "==", "0"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}]}], "]"}], ";"}], "\[IndentingNewLine]", ",", " ", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "-", "1"}], "]"}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}]}], "]"}], ";"}], "\[IndentingNewLine]", ",", " ", RowBox[{ RowBox[{ RowBox[{"mark", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";", RowBox[{ RowBox[{"A", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"Array", "[", RowBox[{ RowBox[{"200", "&"}], ",", RowBox[{"{", RowBox[{"n", ",", RowBox[{"Length", "[", "B", "]"}]}], "}"}]}], "]"}]}], ";", RowBox[{ RowBox[{"T", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"T", "[", RowBox[{"[", RowBox[{"i", "-", "1"}], "]"}], "]"}]}], ";", RowBox[{"i", "=", RowBox[{"i", "-", "1"}]}]}]}], "]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"Tile", "=", RowBox[{"Drop", "[", RowBox[{ RowBox[{"Tile", "\[Union]", RowBox[{"{", "0", "}"}]}], ",", "1"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{ RowBox[{"Length", "[", "Tile", "]"}], "\[IndentingNewLine]", "Tile"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", " ", RowBox[{"j", "\[LessEqual]", RowBox[{"Length", "[", "Tile", "]"}]}], ",", " ", RowBox[{ RowBox[{"P", "=", RowBox[{"Tile", "[", RowBox[{"[", "j", "]"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "2"}], ",", " ", RowBox[{"i", "<=", RowBox[{"Length", "[", "P", "]"}]}], ",", " ", "\[IndentingNewLine]", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"MemberQ", "[", RowBox[{"Tile", ",", RowBox[{ RowBox[{"Mod", "[", RowBox[{ RowBox[{"P", "-", RowBox[{"P", "[", RowBox[{"[", "i", "]"}], "]"}]}], ",", "n"}], "]"}], "\[Union]", RowBox[{"{", "}"}]}]}], "]"}], ",", " ", RowBox[{ RowBox[{ RowBox[{"Tile", "[", RowBox[{"[", "j", "]"}], "]"}], "=", "0"}], ";", RowBox[{"i", "=", RowBox[{ RowBox[{"Length", "[", "P", "]"}], "+", "1"}]}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"i", "++"}]}]}], "]"}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";", " ", "\[IndentingNewLine]", RowBox[{"Tile", "=", RowBox[{"Drop", "[", RowBox[{ RowBox[{"Tile", "\[Union]", RowBox[{"{", "0", "}"}]}], ",", "1"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"Not", "[", RowBox[{ RowBox[{"Length", "[", "Tile", "]"}], "\[Equal]", "0"}], "]"}], ",", " ", RowBox[{"rr", "=", RowBox[{"rr", "+", "1"}]}]}], "]"}], ";", "\[IndentingNewLine]", "Tile", ";", "\[IndentingNewLine]", RowBox[{"jj", "++"}]}]}], "]"}], ";"}], "\[IndentingNewLine]", "rr", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", RowBox[{"j", "\[LessEqual]", RowBox[{"Length", "[", "maxperiod", "]"}]}], ",", RowBox[{ RowBox[{ RowBox[{"maxperiod", "[", RowBox[{"[", "j", "]"}], "]"}], "=", RowBox[{"Drop", "[", RowBox[{ RowBox[{ RowBox[{"maxperiod", "[", RowBox[{"[", "j", "]"}], "]"}], "\[Union]", RowBox[{"{", "0", "}"}]}], ",", "1"}], "]"}]}], ";", "\[IndentingNewLine]", RowBox[{"j", "++"}]}]}], "]"}], ";"}], "\[IndentingNewLine]", "maxperiod", "\[IndentingNewLine]", "\[IndentingNewLine]"}]}]], "Input", CellChangeTimes->{{3.43222282171875*^9, 3.4322228993125*^9}, { 3.433654472953125*^9, 3.43365457*^9}, {3.4336546398125*^9, 3.433654674828125*^9}, {3.433654726671875*^9, 3.433654764859375*^9}, { 3.433655036125*^9, 3.43365507959375*^9}}], Cell[BoxData[ DynamicBox[ ToBoxes[{$CellContext`j, $CellContext`i, $CellContext`g, $CellContext`mark}, StandardForm], ImageSizeCache->{242.0625, {2., 8.}}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654781*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{ "0", ",", "8", ",", "9", ",", "16", ",", "17", ",", "18", ",", "25", ",", "26", ",", "27", ",", "34", ",", "35", ",", "43"}], "}"}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.43365478103125*^9}], Cell[BoxData[ DynamicBox[ ToBoxes[{$CellContext`j, $CellContext`i, $CellContext`g, $CellContext`mark}, StandardForm], ImageSizeCache->{242.0625, {2., 8.}}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654781046875*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{ "0", ",", "8", ",", "9", ",", "16", ",", "17", ",", "18", ",", "25", ",", "26", ",", "27", ",", "34", ",", "35", ",", "43"}], "}"}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654781046875*^9}], Cell[BoxData["18"], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654782640625*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{ "0", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "6", ",", "7", ",", "8", ",", "9", ",", "10", ",", "11", ",", "12", ",", "13", ",", "14", ",", "15", ",", "16", ",", "17", ",", "18", ",", "19", ",", "20", ",", "21", ",", "22", ",", "23", ",", "24", ",", "25", ",", "26", ",", "27", ",", "28", ",", "29", ",", "30", ",", "31", ",", "32", ",", "33", ",", "34", ",", "35", ",", "36", ",", "37", ",", "38", ",", "39", ",", "40", ",", "41", ",", "42", ",", "43", ",", "44", ",", "45", ",", "46", ",", "47", ",", "48", ",", "49", ",", "50", ",", "51", ",", "52", ",", "53", ",", "54", ",", "55", ",", "56", ",", "57", ",", "58", ",", "59", ",", "60", ",", "61", ",", "62", ",", "63", ",", "64", ",", "65", ",", "66", ",", "67", ",", "68", ",", "69", ",", "70", ",", "71"}], "}"}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654782640625*^9}], Cell[BoxData["0"], "Output", CellChangeTimes->{3.432222915296875*^9, 3.43365478265625*^9}], Cell[BoxData[ DynamicBox[ ToBoxes[{$CellContext`j, $CellContext`i, $CellContext`g, $CellContext`mark}, StandardForm], ImageSizeCache->{242.0625, {2., 8.}}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.43365478265625*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{ "0", ",", "8", ",", "9", ",", "16", ",", "17", ",", "18", ",", "25", ",", "26", ",", "27", ",", "34", ",", "35", ",", "43"}], "}"}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.43365478265625*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{ "0", ",", "8", ",", "9", ",", "16", ",", "17", ",", "18", ",", "25", ",", "26", ",", "27", ",", "34", ",", "35", ",", "43", ",", "72", ",", "80", ",", "81", ",", "88", ",", "89", ",", "90", ",", "97", ",", "98", ",", "99", ",", "106", ",", "107", ",", "115"}], "}"}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654782671875*^9}], Cell[BoxData["576"], "Output", CellChangeTimes->{3.432222915296875*^9, 3.43365486034375*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{ "0", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "6", ",", "7", ",", "8", ",", "9", ",", "10", ",", "11", ",", "12", ",", "13", ",", "14", ",", "15", ",", "16", ",", "17", ",", "18", ",", "19", ",", "20", ",", "21", ",", "22", ",", "23", ",", "24", ",", "25", ",", "26", ",", "27", ",", "28", ",", "29", ",", "30", ",", "31", ",", "32", ",", "33", ",", "34", ",", "35", ",", "36", ",", "37", ",", "38", ",", "39", ",", "40", ",", "41", ",", "42", ",", "43", ",", "44", ",", "45", ",", "46", ",", "47", ",", "48", ",", "49", ",", "50", ",", "51", ",", "52", ",", "53", ",", "54", ",", "55", ",", "56", ",", "57", ",", "58", ",", "59", ",", "60", ",", "61", ",", "62", ",", "63", ",", "64", ",", "65", ",", "66", ",", "67", ",", "68", ",", "69", ",", "70", ",", "71", ",", "72", ",", "73", ",", "74", ",", "75", ",", "76", ",", "77", ",", "78", ",", "79", ",", "80", ",", "81", ",", "82", ",", "83", ",", "84", ",", "85", ",", "86", ",", "87", ",", "88", ",", "89", ",", "90", ",", "91", ",", "92", ",", "93", ",", "94", ",", "95", ",", "96", ",", "97", ",", "98", ",", "99", ",", "100", ",", "101", ",", "102", ",", "103", ",", "104", ",", "105", ",", "106", ",", "107", ",", "108", ",", "109", ",", "110", ",", "111", ",", "112", ",", "113", ",", "114", ",", "115", ",", "116", ",", "117", ",", "118", ",", "119", ",", "120", ",", "121", ",", "122", ",", "123", ",", "124", ",", "125", ",", "126", ",", "127", ",", "128", ",", "129", ",", "130", ",", "131", ",", "132", ",", "133", ",", "134", ",", "135", ",", "136", ",", "137", ",", "138", ",", "139", ",", "140", ",", "141", ",", "142", ",", "143"}], "}"}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654860359375*^9}], Cell[BoxData["95"], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654860453125*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"0", ",", "28", ",", "52", ",", "76", ",", "96", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "42", ",", "75", ",", "78", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "48", ",", "78", ",", "84", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "51", ",", "75", ",", "87", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "51", ",", "84", ",", "87", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "51", ",", "87", ",", "102", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "57", ",", "78", ",", "93", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "57", ",", "87", ",", "93", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "57", ",", "93", ",", "96", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "57", ",", "93", ",", "105", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "60", ",", "75", ",", "96", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "60", ",", "84", ",", "96", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "60", ",", "93", ",", "96", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "60", ",", "96", ",", "102", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "66", ",", "78", ",", "102", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "66", ",", "87", ",", "102", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "66", ",", "96", ",", "102", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "66", ",", "102", ",", "105", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "69", ",", "75", ",", "105", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "69", ",", "84", ",", "105", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "69", ",", "93", ",", "105", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "36", ",", "69", ",", "102", ",", "105", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "42", ",", "75", ",", "78", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "51", ",", "75", ",", "87", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "60", ",", "75", ",", "96", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "69", ",", "75", ",", "105", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "75", ",", "78", ",", "108", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "75", ",", "87", ",", "108", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "75", ",", "96", ",", "108", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "39", ",", "75", ",", "105", ",", "108", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "42", ",", "48", ",", "78", ",", "84", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "42", ",", "57", ",", "78", ",", "93", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "42", ",", "66", ",", "78", ",", "102", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "42", ",", "75", ",", "78", ",", "108", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "42", ",", "78", ",", "84", ",", "108", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "42", ",", "78", ",", "93", ",", "108", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "42", ",", "78", ",", "102", ",", "108", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "44", ",", "68", ",", "92", ",", "96", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "51", ",", "84", ",", "87", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "52", ",", "76", ",", "96", ",", "100"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "60", ",", "84", ",", "96", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "68", ",", "92", ",", "96", ",", "116"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "69", ",", "84", ",", "105", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "76", ",", "96", ",", "100", ",", "124"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "78", ",", "84", ",", "108", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "84", ",", "87", ",", "108", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "84", ",", "96", ",", "108", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "84", ",", "105", ",", "108", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "48", ",", "92", ",", "96", ",", "116", ",", "140"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "51", ",", "57", ",", "87", ",", "93", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "51", ",", "66", ",", "87", ",", "102", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "51", ",", "75", ",", "87", ",", "108", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "51", ",", "84", ",", "87", ",", "108", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "51", ",", "87", ",", "93", ",", "108", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "51", ",", "87", ",", "102", ",", "108", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "52", ",", "76", ",", "96", ",", "100", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "57", ",", "60", ",", "93", ",", "96", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "57", ",", "69", ",", "93", ",", "105", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "57", ",", "78", ",", "93", ",", "108", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "57", ",", "87", ",", "93", ",", "108", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "57", ",", "93", ",", "96", ",", "108", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "57", ",", "93", ",", "105", ",", "108", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "60", ",", "66", ",", "96", ",", "102", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "60", ",", "75", ",", "96", ",", "108", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "60", ",", "84", ",", "96", ",", "108", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "60", ",", "93", ",", "96", ",", "108", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "60", ",", "96", ",", "102", ",", "108", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "66", ",", "69", ",", "102", ",", "105", ",", "108"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "66", ",", "78", ",", "102", ",", "108", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "66", ",", "87", ",", "102", ",", "108", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "66", ",", "96", ",", "102", ",", "108", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "66", ",", "102", ",", "105", ",", "108", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "68", ",", "92", ",", "96", ",", "116", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "69", ",", "75", ",", "105", ",", "108", ",", "111"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "69", ",", "84", ",", "105", ",", "108", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "69", ",", "93", ",", "105", ",", "108", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "69", ",", "102", ",", "105", ",", "108", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "75", ",", "78", ",", "108", ",", "111", ",", "114"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "75", ",", "87", ",", "108", ",", "111", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "75", ",", "96", ",", "108", ",", "111", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "75", ",", "105", ",", "108", ",", "111", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "76", ",", "96", ",", "100", ",", "120", ",", "124"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "78", ",", "84", ",", "108", ",", "114", ",", "120"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "78", ",", "93", ",", "108", ",", "114", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "78", ",", "102", ",", "108", ",", "114", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "84", ",", "87", ",", "108", ",", "120", ",", "123"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "84", ",", "96", ",", "108", ",", "120", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "84", ",", "105", ",", "108", ",", "120", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "87", ",", "93", ",", "108", ",", "123", ",", "129"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "87", ",", "102", ",", "108", ",", "123", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "92", ",", "96", ",", "116", ",", "120", ",", "140"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "93", ",", "96", ",", "108", ",", "129", ",", "132"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "93", ",", "105", ",", "108", ",", "129", ",", "141"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "96", ",", "102", ",", "108", ",", "132", ",", "138"}], "}"}], ",", RowBox[{"{", RowBox[{"0", ",", "102", ",", "105", ",", "108", ",", "138", ",", "141"}], "}"}]}], "}"}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654860453125*^9}], Cell[BoxData[ DynamicBox[ ToBoxes[{$CellContext`jj, $CellContext`j, $CellContext`i, $CellContext`g, \ $CellContext`mark, $CellContext`rr}, StandardForm], ImageSizeCache->{285.4375, {2., 8.}}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654860453125*^9}], Cell[BoxData["1"], "Output", CellChangeTimes->{3.432222915296875*^9, 3.43365487815625*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "6", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "6", "}"}], ",", RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "6", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "6", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "6", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "18", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "24", "}"}], ",", RowBox[{"{", "12", "}"}], ",", RowBox[{"{", "24", "}"}]}], "}"}]], "Output", CellChangeTimes->{3.432222915296875*^9, 3.433654878390625*^9}] }, Open ]] }, WindowSize->{1023, 567}, WindowMargins->{{Automatic, 95}, {Automatic, 56}}, FrontEndVersion->"6.0 for Microsoft Windows (32-bit) (June 19, 2007)", StyleDefinitions->"Default.nb" ] (* End of Notebook Content *) (* Internal cache information *) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[590, 23, 73324, 1940, 5092, "Input"], Cell[73917, 1965, 234, 5, 30, "Output"], Cell[74154, 1972, 252, 5, 30, "Output"], Cell[74409, 1979, 240, 5, 30, "Output"], Cell[74652, 1986, 253, 5, 30, "Output"], Cell[74908, 1993, 93, 1, 30, "Output"], Cell[75004, 1996, 942, 14, 50, "Output"], Cell[75949, 2012, 91, 1, 30, "Output"], Cell[76043, 2015, 239, 5, 30, "Output"], Cell[76285, 2022, 252, 5, 30, "Output"], Cell[76540, 2029, 396, 7, 30, "Output"], Cell[76939, 2038, 93, 1, 30, "Output"], Cell[77035, 2041, 1826, 26, 107, "Output"], Cell[78864, 2069, 93, 1, 30, "Output"], Cell[78960, 2072, 10684, 288, 392, "Output"], Cell[89647, 2362, 272, 5, 30, "Output"], Cell[89922, 2369, 91, 1, 30, "Output"], Cell[90016, 2372, 3437, 98, 107, "Output"] }, Open ]] } ] *) (* End of internal cache information *)