Skip to content
The Lumenary

Each worksheet prints cleanly on A4 or Letter. Answer keys are on a separate page.

The Lumenary · First-year graduate

Experimental mathematics: conjectures and counterexamples

Name: ______________________

Date: ______________________

You will learn to

  • Generate and test conjectures numerically, and design a counterexample search whose bounds are stated and whose completeness can be checked
  • Use high-precision arithmetic and integer-relation detection (PSLQ) to guess closed forms, and then prove them, as for the Bailey–Borwein–Plouffe formula
  • Explain with examples — Fermat numbers, Euler's conjecture, prime races, π(x) and li(x), Borwein integrals — why patterns that hold in many cases can fail
  • Assess computer-assisted proofs such as those of the four colour theorem and the Kepler conjecture, and how they were verified
  1. 1.

    The Fermat numbers are Fn=22n+1F_n = 2^{2^n} + 1. What is the smallest nn for which FnF_n is not prime?

  2. 2.

    Let φ=(1+5)/2\varphi = (1 + \sqrt5)/2. Which vector is an integer relation for (φ2,φ,1)(\varphi^2, \varphi, 1)?

    • A.(1,−1,−1)(1, -1, -1)
    • B.(1,1,−1)(1, 1, -1)
    • C.(2,−1,−3)(2, -1, -3)
    • D.(0,0,0)(0, 0, 0)
  3. 3.

    Which of these are honest, adequately specified reports of a counterexample search for Goldbach's conjecture? (Choose all that apply.)

    • A."Every even nn with 4≤n≤1094 \le n \le 10^9 is a sum of two primes; code, primality test and logs are archived."
    • B."Our program ran for a week and found no counterexample."
    • C."We tested 10610^6 even numbers chosen uniformly at random below 102010^{20} (seed and generator recorded); all were sums of two primes."
    • D."Exhaustive computer search confirms Goldbach's conjecture."
  4. 4.

    At 100 digits, PSLQ finds a relation with coefficients of size below 100100 among six constants, with residual 10−9510^{-95}; at 200 digits the same relation holds to 10−19510^{-195}. What may you claim?

    • A.Strong numerical evidence for an exact identity, which should now be proved.
    • B.A theorem: the identity holds.
    • C.Nothing at all, since numerical computations are unreliable.
    • D.The relation is probably spurious, because the coefficients are small.
  5. 5.

    Among the primes p≤50p \le 50, let TT be the number with p≡3(mod4)p \equiv 3 \pmod 4 and OO the number with p≡1(mod4)p \equiv 1 \pmod 4. Compute T−OT - O.

  6. 6.

    In the proof of the BBP formula, which step needs an analytic justification rather than algebra alone?

    • A.Writing ∑k2−(8k+j)/2/(8k+j)\sum_k 2^{-(8k+j)/2}/(8k+j) as ∫01/2xj−1/(1−x8) dx\int_0^{1/\sqrt2} x^{j-1}/(1 - x^8)\,dx, i.e. integrating the geometric series term by term.
    • B.The partial-fraction decomposition of (16y−16)/(y4−2y3+4y−4)(16y - 16)/(y^4 - 2y^3 + 4y - 4).
    • C.Evaluating arctan⁡(−1)=−π/4\arctan(-1) = -\pi/4.
    • D.Factoring 16−y816 - y^8.
  7. 7.

    With fermat n = 2 ^ (2 ^ n) + 1, which Lean statement says that Fermat's conjecture is false?

    • A.¬ ∀ n, (fermat n).Prime
    • B.∀ n, ¬ (fermat n).Prime
    • C.∃ n, (fermat n).Prime
    • D.¬ ∃ n, (fermat n).Prime
  8. 8.

    Which conjecture would be refuted by a finite counterexample that a computer can check, whatever form the counterexample takes?

    • A.Goldbach's conjecture: every even number greater than 2 is a sum of two primes.
    • B.There are infinitely many twin primes.
    • C.There are infinitely many Fermat primes.
    • D.The Collatz conjecture.
  9. 9.

    Write first_counterexample(pred, start, bound) that checks pred(n) for every integer n with start <= n <= bound in increasing order and returns the first n for which pred(n) is false, or None if there is none (an exhaustive search up to bound). Then use it to find the first prime p for which 2p−12^p - 1 is not prime. The helper is_prime is provided.

    Computational — Practice

Code: Apache-2.0 · Content: CC BY-SA 4.0