Permalink
Browse files

comment about limit

  • Loading branch information...
1 parent a46e025 commit 7725f34423f168c26ad9df024394c34a4107b7ca @benthaman committed May 27, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 encode.py
View
@@ -41,6 +41,14 @@ def __call__(self, x):
modulo += 1
limit = 9999
+# The limit is there for two reasons:
+# * it's in original.py
+# * I'm not certain that all charset permutations are valid, that would be the
+# case if the following conjecture is verified:
+# m is prime, n is part of the natural numbers
+# there is no i part of the natural numbers and i < m such that
+# n * m + i is never prime
+# In this case, n is candidate, m is modulo and i is index
for charset in itertools.permutations(charset_letters):
factor = []
n = 0

0 comments on commit 7725f34

Please sign in to comment.