OFFSET
1,1
COMMENTS
Let (f(k)) be an increasing sequence of positive composite numbers. Let u(k) = greatest prime < f(k) and v(k) = least prime > f(k). Let
s(1) = {k : f(k) - u(k) < v(k) - f(k)} = {k : f(k) < (u(k)+v(k))/2};
s(2) = {k : f(k) - u(k) = v(k) - f(k)} = {k : f(k) = (u(k)+v(k))/2};
s(3) = {k : f(k) - u(k) > v(k) - f(k)} = {k : f(k) > (u(k)+v(k))/2}.
The sets s(1), s(2), s(3) partition the natural numbers, A000027.
See A390788 for a guide to related sequences.
The 3-way partition of A000027:
this sequence: (2, 5, 6, 8, 11, 12, 17, 20, 21, 23, 26, 29, 32, 33, 35, 38, 41, 42, ...)
A391355: (1, 3, 14, 15, 16, 18, 19, 27, 30, 36, 40, 44, 45, 48, 57, 59, 60, 65, 72, ...)
A391356: (4, 7, 9, 10, 13, 22, 24, 25, 28, 31, 34, 37, 39, 43, 47, 49, 52, 55, 58, ...)
The primes indexed by s(1), s(2), s(3) are partitioned into three sequences as follows:
Prime(s(1)) = (3, 11, 13, 19, 31, 37, 59, 71, 73, 83, 101, 109, 131, 137, 149, ...)
Prime(s(2)) = (2, 5, 43, 47, 53, 61, 67, 103, 113, 151, 173, 193, 197, 223, ...)
Prime(s(3)) = (7, 17, 23, 29, 41, 79, 89, 97, 107, 127, 139, 157, 167, 191, ...)
MATHEMATICA
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Dec 14 2025
STATUS
approved
