@@ -0,0 +1,516 @@
+import itertools%0Aprint %220%22, %22%5Ct%22, 1%0Aprint %221%22,%22%5Ct%22,3%0Afor j in range(5,17,2):%0A    x = range(1,j+1)%0A    sum2 = 0%0A    for a in itertools.permutations(x):%0A        x = list(a)%0A        sum1 = x%5B0%5D+x%5B1%5D+x%5B2%5D%0A        d = 1%0A        for i in range(2,j-2,2):%0A            if (sum1== x%5Bi%5D+x%5Bi+1%5D+x%5Bi+2%5D):%0A                d = 1%0A            else:%0A                d = 0%0A                break%0A        if (d==1):%0A            if (a%5B0%5D%3Ca%5Bj-1%5D):%0A                #print x, sum1%0A                sum2 = sum2+1%0A    print (j-1)/2, %22%5Ct%22, sum2%0A

Create emtl-simple-path.py