erdos-problems 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erdos-problems",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "CLI atlas and workspace tools for Paul Erdos problems.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -38,8 +38,9 @@ What success would look like:
38
38
  - the remaining uncovered range shrinks monotonically
39
39
 
40
40
  Current progress:
41
- - the repo now has an exact small-`N` certificate for `1..3000`
42
- - a direct jump to `1..5000` no longer looks cheap enough to treat as the default next move
41
+ - the repo now has an exact small-`N` certificate for `1..10000`
42
+ - an incremental verifier replaced the misleading earlier cost wall and made larger exact
43
+ tranches practical again
43
44
 
44
45
  What this lane is not:
45
46
  - not brute force to `2.64 x 10^17`
@@ -1,14 +1,15 @@
1
- # Problem 848 Exact Small-`N` Certificate: `1..3000`
1
+ # Problem 848 Exact Small-`N` Certificate: `1..10000`
2
2
 
3
- This is the first exact bounded-verification certificate frozen in the repo for Problem `848`.
3
+ This is the current exact bounded-verification base certificate frozen in the repo for
4
+ Problem `848`.
4
5
 
5
6
  ## Claim
6
7
 
7
- For every `N` with `1 <= N <= 3000`, the maximum size of a set `A subseteq [N]` such that
8
+ For every `N` with `1 <= N <= 10000`, the maximum size of a set `A subseteq [N]` such that
8
9
  `ab + 1` is never squarefree for all `a, b in A` is equal to the size of the `7 mod 25`
9
10
  or `18 mod 25` residue class in `[N]`.
10
11
 
11
- This certificate only covers the interval `1..3000`.
12
+ This certificate only covers the interval `1..10000`.
12
13
 
13
14
  ## Method class
14
15
 
@@ -21,35 +22,37 @@ Command used:
21
22
  ```bash
22
23
  node packs/number-theory/problems/848/compute/problem848_small_n_exact_scan.mjs \
23
24
  --min 1 \
24
- --max 3000 \
25
- --json-output packs/number-theory/problems/848/EXACT_SMALL_N_1_3000_RESULTS.json
25
+ --max 10000 \
26
+ --json-output packs/number-theory/problems/848/EXACT_SMALL_N_1_10000_RESULTS.json
26
27
  ```
27
28
 
28
29
  The script:
29
30
  - filters vertices by the loop condition `a^2 + 1` not squarefree
30
- - builds the compatibility graph where `a` and `b` are adjacent exactly when `ab + 1` is not
31
- squarefree
32
- - computes an exact maximum clique for each `N`
33
- - compares that maximum clique size against the `7 mod 25` class size
31
+ - grows the compatibility graph incrementally as `N` increases
32
+ - keeps the current maximum clique and only solves a new exact clique problem when the fresh
33
+ vertex can actually improve the bound
34
+ - emits compact machine-readable rows by recording the residue-class witness directly whenever
35
+ the maximum clique is a full `7 mod 25` or `18 mod 25` class
34
36
 
35
37
  ## Outcome
36
38
 
37
- - interval: `1..3000`
39
+ - interval: `1..10000`
38
40
  - result: verified
39
41
  - every scanned `N` satisfied:
40
42
  - `max_clique_size = max(|{n in [N] : n equiv 7 mod 25}|, |{n in [N] : n equiv 18 mod 25}|)`
41
43
 
42
44
  The machine-readable result packet is:
43
- - `EXACT_SMALL_N_1_3000_RESULTS.json`
45
+ - `EXACT_SMALL_N_1_10000_RESULTS.json`
44
46
 
45
47
  ## Scope warning
46
48
 
47
- This does **not** certify anything above `3000`.
49
+ This does **not** certify anything above `10000`.
48
50
  It is a base interval certificate only.
49
51
 
50
52
  ## Why this interval matters
51
53
 
52
54
  - it creates a real in-repo covered interval, not just a verification plan
53
- - it is large enough to be a meaningful finite-check foothold
55
+ - it shows that exact coverage can reach substantially farther than the old pre-incremental
56
+ verifier suggested
54
57
  - it does not rely on disputed public computation
55
58
  - it gives the bounded-verification lane a concrete certificate format and reproduction path