diff --git a/amicable.sage b/amicable.sage index 917503c..050b616 100644 --- a/amicable.sage +++ b/amicable.sage @@ -16,7 +16,7 @@ DEFAULT_TWOADICITY = 32 DEFAULT_STRETCH = 0 COEFFICIENT_RANGE = (5,) -#COEFFICIENT_RANGE = range(1, 10000) +#COEFFICIENT_RANGE = range(1, 100) ACCEPTABLE_PRIMES = (5,) #ACCEPTABLE_PRIMES = Primes() @@ -98,6 +98,9 @@ def symmetric_range(n, base=0, step=1): def find_nice_curves(strategy, L, twoadicity, stretch, wid, processes): for (p, T, V) in strategy(L, max(0, twoadicity-stretch), wid, processes): + if p % (1<