Primes p such that p + 40 is also prime

Open in the 3-D viewerA271981 on the OEIS
| Terms | 100,000 (n = 1 … 100,000) |
|---|---|
| Decomposable (a > 2d) | 99,997 |
| Level class, k > L | 44,454 · 44.46 % |
| Weight class, k ≤ L | 55,543 · 55.54 % |
| Ties, k = L | 33 |
| On the level line L = 1 | 16,685 |
| Forced level, l ≤ d² | 118 |
| Range of a(n) | 3 … 13,273,489 |
| Range of the jump d | 4 … 1,452 |
| Largest weight k, level L | 13,272,799, 1,896,211 |
194 different gaps occur, from 4 to 1,452; the level share is 44.46 %; L = 1 holds 38 % of the level class.
The decomposition
Every term of a strictly increasing sequence is written a(n) = k(n)·L(n) + d(n): the jump d = a(n+1) − a(n), the weight k the least divisor of a − d greater than d, the level L = (a − d)/k. A term decomposes when a > 2d; it is in the level class when k > L and in the weight class when k ≤ L. See decompwlj.com and arXiv:0711.0865, or how it works, with worked examples and a live one.