Products of primes in an interval #
The explicit affine disperser works over 𝔽_{2 ^ n} for n a product of distinct primes from an
interval (L, 4 L], kept below a target T by a greedy walk through the primes in increasing
order (Cslib.selectBelow). The walk either takes every prime or ends within a
factor 4 L of T (Cslib.prod_le_or_lt_mul_prod_selectBelow), and Chebyshev's
bounds show that the product of all primes in (L, 4 L] is at least 4 ^ L up to a factor
(4 L + 1) ^ (4 √L + 5) (Cslib.four_pow_le_mul_prod_primesIoc): the lower bound
θ (4 L) ≥ 4 L log 2 - O(√L log L) beats the upper bound θ L ≤ 2 L log 2 by 2 L log 2.
Main definitions #
Cslib.primesIoc: the primes in(a, b], in increasing order.Cslib.selectBelow: the greedy choice of primes with product at mostT.
Main results #
Cslib.prod_selectBelow_le: the chosen product is at mostT.Cslib.prod_le_or_lt_mul_prod_selectBelow: either every prime is chosen or the product exceedsT / B, forBa bound on the primes.Cslib.four_pow_le_mul_prod_primesIoc:4 ^ Lis at most(4 L + 1) ^ (4 ⌊√L⌋ + 5)times the product of the primes in(L, 4 L].
References #
The primes p with a < p ≤ b, in increasing order.
Instances For
The greedy choice is a sublist of ps.
The greedy choice has product at most the budget T ≥ 1.
The greedy choice is large: if every element of ps is positive and at most B, either
every element is chosen (the product of ps is at most the chosen product) or the chosen product
exceeds T / B.