WorksMathematics
Universal Implications Among -Prime Graph Labelings
Abstract
For , let be the class of graphs admitting a bijective labeling by consecutive integers beginning at , with coprime labels at adjacent vertices. We determine all universal inclusions between distinct such classes: holds for if and only if or . In particular, the classes are pairwise distinct. The proof translates universal inclusion into a spanning-embedding question for coprimality graphs on consecutive integer intervals. Edge-count identities, arithmetic-progression estimates, and prime-residue switching exclude all other inclusions; a prime-gap argument reduces the remaining finite range to fifteen explicit rational inequalities. We further show that, for each nonexceptional ordered pair, the graph orders at which edge counts obstruct inclusion have a positive natural density. This density is described through a limiting distribution of correlated Euler products, for which we give an atomlessness argument. The classification resolves the distinct-index formulation of the universal-implication conjecture.
Introduction
A -prime labeling of a graph of order is a bijection such that for every edge . A graph admitting such a labeling is -prime. This notion was introduced by Vaidya and Prajapati [12]. Zhang and Li introduced the term uniform prime labeling in their work on trees [15] and studied implications among -prime labelings in their cycle-snake paper [14]. Earlier investigations include small-order -prime graphs [1] and coprime graphs on consecutive integer intervals [4, 3]; see also the graph-labeling survey [7]. The latter coprimality graphs provide a natural model for our question, but their basic modular periodicity is already known. The following are the two conjectures formulated by Zhang and Li [14], numbered 1 and 2 in that work.
Conjecture 1.1. For distinct positive integers , , the classes of -prime and -prime graphs are different.
Conjecture 1.2. For distinct positive integers , , if every -prime graph is -prime, then .
Conjecture 1.2 is the corrected distinct-index formulation of the original Conjecture 2 in [14]. Without , the proposed implication classification would be false because for every . Our classification establishes precisely this corrected formulation. Our main theorem resolves Conjecture 1.2 of [14]; Conjecture 1.1 follows as an immediate corollary. The proof proceeds by reducing universal implications to spanning embeddings of interval coprimality graphs. An edge-count translation identity and a conditional mean-value formula yield arithmetic criteria for nonimplication. Large prime divisors and weighted prime-residue switches cover all but finitely many ordered pairs; Nagura’s prime-interval theorem bounds the remaining range, and an elementary prime-gap classification reduces the remaining cases to fifteen explicit rational inequalities. The additional finite classifications record first separating orders detected by the stated invariants; they are not prerequisites for the main theorem. The finite classification is proved using a short prime-gap table; the verification programs provide independent checks. The probabilistic section uses established methods of multiplicative-function distribution theory rather than claiming a new general limit theorem. We use standard facts on primes, totients, and divisor sums; see [8, 2] for background. The principal graph-theoretic result is the complete inclusion classification, stated first in § 2. Its proof is given there in terms of later, fully proved arithmetic criteria. The coprimality-graph framework and nonimplication arguments are developed next; the quantitative density results follow their prerequisites. The finite certificates are displayed explicitly and the verification programs are included for reproducibility.
Main classification
For each positive integer , let denote the class of all finite -prime graphs.
Lemma 2.1 (Known positive implications). Every 2-prime graph and every 3-prime graph is 1-prime.
Proof. Let have vertices. If , the assertion is immediate. Given a 2-prime labeling, replace its label by 1 and leave the other labels unchanged. This produces the label set ; since 1 is coprime to every integer, all edges remain valid.
Now suppose and let be a 3-prime labeling. Replace the labels by 1,2, respectively, when is even, and by 2,1, respectively, when is odd. The label replaced by 2 is even in either case. Thus each new label divides the old label at its vertex. If is an edge, then implies that the new labels at are also coprime. The resulting labeling uses exactly and is 1-prime. These implications were also established in [14].
Theorem 2.2 (Complete classification of universal implications). For distinct positive integers ,
Proof. The two stated implications follow from Lemma 2.1. Suppose is not one of these pairs. If , apply Theorem 4.3. If and , then because the two exceptional cases were excluded, so apply Theorem 10.11; if or 3, apply Corollary 10.10. If and , apply Corollary 10.8. In the remaining range put . Theorem 16.2 handles ; Proposition 16.4 handles using the prime-gap characterization and the fifteen exact switching inequalities. These cases exhaust all possibilities.
Corollary 2.3 (Resolution of Conjecture 1 in [14]). For all distinct positive integers , one has .
Proof. Equality would imply both inclusions. By Theorem 2.2, neither exceptional ordered pair admits the reverse inclusion.
Coprimality graphs and universal implications
Let denote the graph with vertex set , with distinct vertices adjacent exactly when they are coprime. This is the -coprime graph studied by Bani Mostafa and Ghorbani [3].
Theorem 3.1. For positive integers , the following are equivalent:
Every -prime graph is -prime.
For every , is -prime.
For every , there exists a bijection carrying each coprime pair to a coprime pair.
Proof. The identity labeling makes -prime, so (1) implies (2). A -prime labeling of is precisely a bijection from its label set to that sends every edge to a coprime pair; hence (2) and (3) are equivalent. Finally, suppose (2) holds and has an -prime labeling . Identifying each vertex with realizes as a spanning subgraph of . If is a -prime labeling of , then is a bijection onto and is coprime on every edge of . Thus (2) implies (1).
Theorem 3.2 (Fixed-order periodicity). For , put . If , then and are isomorphic under translation of label positions. In particular, a graph of order is -prime if and only if it is -prime. This period is generally not optimal; compare the primorial periodicity in [4].
Proof. For , set . Since and , we have . Thus adjacency is preserved.
Theorem 3.3 (Optimal squarefree translation period). For , put
If , then and have identical adjacency relations under the position-preserving translation . Moreover, is the least positive common translation period: if a positive integer has this property for every starting index , then . The existence of the primorial period is known [4]; the least-period property also follows from their count of distinct modular tables. We include a direct proof for completeness.
Proof. For , the pair of positions is adjacent precisely when no prime divisor of divides . Every such prime is less than , so congruence modulo preserves adjacency. Conversely, let preserve all position-wise adjacencies for every starting index. Fix any prime and take . Positions are nonadjacent because . Their translates must also be nonadjacent, so . Hence . As this holds for every prime , .
Corollary 3.4. If is not -prime and , , then -primality does not universally imply -primality.
Proof. Apply Theorem 3.3 to the source and target graphs, followed by Theorem 3.1.
Corollary 3.5. If is not -prime and , , then -primality does not universally imply -primality.
Proof. Theorem 3.2 identifies the respective coprimality graphs. Apply Theorem 3.1.
Distinctness of all -prime graph classes
For positive integers and , put
Lemma 4.1 (Translation identity). For and ,
Consequently, for ,
Proof. The intervals and have labels in common. Edges between common labels cancel. The removed label has neighbors and the added label has neighbors. Summing the resulting identity gives the second assertion.
Lemma 4.2. For all integers ,
with an absolute implied constant, where denotes the number of positive divisors of . In particular, the error is . If , then .
Proof. By Möbius inversion,
The bound gives the weaker estimate. If , every integer coprime to is also coprime to , giving the final assertion.
Theorem 4.3 (Nonimplication in the increasing-index direction). For every , there are a positive integer , a residue class , and a constant such that
for every sufficiently large positive . In particular, -primality does not imply -primality.
Proof. Put and . Choose such that . For each , choose a squarefree positive integer with , arranging that the are pairwise coprime. This is possible by partitioning sufficiently many primes into disjoint finite sets whose respective products of are less than ; it uses divergence of the sum of reciprocals of primes [8]. By the Chinese remainder theorem there is a residue class , , such that for each . For , each divides , so Lemma 4.2 yields
The same lemma gives
By Lemma 4.1,
which is at least for all sufficiently large admissible , for a suitable . The edge-count obstruction finishes the proof.
Arithmetic and graph-theoretic obstructions
Proposition 5.1. If is odd and is even, then -primality does not imply -primality.
Proof. The triangle is -prime, since , , are pairwise coprime when is odd. It is not -prime, since and are both even.
Theorem 5.2 (Prime-divisor separation). Let be prime and . If , , and , then -primality does not imply -primality.
Proof. In and , corresponding pairs at distance have the same coprimality status because . The unique pair at distance is coprime in the first graph and noncoprime in the second. Hence , which prevents a spanning embedding of the former into the latter.
Corollary 5.3. For each fixed positive integer , infinitely many positive integers satisfy that -primality does not imply -primality.
Proof. Choose a prime . Since , the Chinese remainder theorem supplies infinitely many positive with and . Apply Theorem 5.2.
Proposition 5.4 (Embedding obstructions). Let , and write for the sorted degrees of . If for some either or for some , then -primality does not imply -primality.
Proof. Any spanning embedding of into preserves all source edges, hence cannot increase the source edge count beyond the target edge count. It also gives a bijection matching each source vertex to a target vertex of at least its degree. Such a matching requires coordinatewise inequality of the sorted degree sequences.
Nonimplications in every arithmetic progression
The prime-divisor obstruction yields a uniform conclusion that does not require fixing the parity or a particular congruence class of the indices.
Theorem 6.1 (Arithmetic-progression separation). For every pair of positive integers , , there are infinitely many positive integers with
such that -primality does not universally imply -primality. More precisely, for some positive integer , all positive integers in one residue class modulo have these properties.
Proof. Choose a prime with , and put . Because , we have , while . The Chinese remainder theorem supplies a residue class satisfying
Every positive integer satisfies and, by Theorem 5.2, gives the claimed nonimplication. Take .
Corollary 6.2. For fixed positive integers , , the set of positive integers for which -primality does not imply -primality has positive lower natural density among the positive integers. Specifically, for any choice of as in the proof of Theorem 6.1, this lower density is at least , where .
Proof. The set contains the complete residue class constructed above, which has natural density .
Corollary 6.3. For every positive integer , infinitely many satisfy -prime -prime universally.
Proof. Apply Theorem 6.1 with .
Arbitrarily delayed separating graphs
Theorem 7.1 (Exact first separating order). Let be a positive integer and let be a prime with . There exist infinitely many positive integers for which every graph of order at most is -prime if and only if it is -prime, but is -prime and not -prime. In particular, the smallest order of a graph that is -prime but not -prime is exactly .
Proof. Put . Since , the Chinese remainder theorem supplies infinitely many positive integers satisfying and . For , the period divides , so Theorem 3.2 identifies and under translation of positions. The same assertion for is immediate. Therefore the two primality notions agree on all graphs of order at most . At order , corresponding pairs of positions at distance less than have the same coprimality status. The unique pair at distance is coprime for the initial index and noncoprime for the initial index . Hence has exactly one more edge than , so it cannot admit a -prime labeling.
Corollary 7.2. For every positive integer and every integer , there are infinitely many distinct indices such that -primality and -primality agree on every graph of order at most , but -primality does not universally imply -primality.
Proof. Choose a prime not dividing and apply Theorem 7.1.
Conditional coprimality densities and reverse nonimplications
For squarefree and any integer , define
Lemma 8.1 (Arithmetic-progression mean). For fixed squarefree , residue (mod ), and positive integer , as ,
Proof. Möbius inversion gives
The classical divisor-sum estimate [2] shows that the sum of the divisor-function errors for is . For squarefree let . The congruences and are compatible exactly when . In that case the common solutions form one residue class modulo . For any such residue class, the elementary progression estimate gives
Because , comparison with the progression modulo shows that the weighted count for the simultaneous congruences is times the weighted count for , with error for each . Multiplication by and summation over give a total error bounded by
The implied constant may depend on the fixed modulus and shift . The absolutely convergent main coefficient is
The discarded tail contributes , since . This proves the formula.
Theorem 8.2 (Conditional-density obstruction). Let and suppose that for some squarefree and residue ,
Then for infinitely many , and hence -primality does not imply -primality.
Proof. Sum Lemma 4.1 over in the given residue class. Apply Lemma 8.1 to each shifted term, and Lemma 4.2 to the fixed terms. The resulting sum of equals a strictly positive constant times
Writing the strict difference of the two coefficient sums as , the total is
The main term is positive and of order , whereas the error is . Therefore some in each sufficiently large dyadic interval has . Choosing disjoint dyadic intervals gives infinitely many distinct such orders. By Theorem 3.1, the graph then witnesses failure of the universal implication.
Densities of separating graph orders
Theorem 9.1 (Positive-density separation orders). For distinct positive integers , put
Then has positive lower natural density if and only if . More precisely, if , contains all sufficiently large members of a fixed arithmetic progression. If and is not exceptional, there are a squarefree integer , a residue , and a number such that
where
Proof. For , Theorem 4.3 supplies a fixed arithmetic progression on which for all sufficiently large . Its density is positive.
Suppose and is not exceptional. The proofs of Theorem 10.11, Corollary 10.10, Corollary 10.8, Theorem 16.2, and Proposition 16.4 each establish the strict hypothesis of Theorem 8.2 for some fixed squarefree and residue . Fix such a choice and let and be as in the statement.
By Lemmas 4.1 and 8.1, together with Lemma 4.2, applying the arithmetic-progression mean estimate on successive dyadic intervals, summing their errors, and absorbing the finitely many initial terms gives
The translation identity also gives for . Discarding nonpositive summands therefore yields
Division by and passage to the lower limit prove the bound. Finally, for or , Lemma 2.1 forces for every , since admits an embedding into . Thus is empty.
Corollary 9.2 (Relative density in a separating progression). Let be distinct positive integers with . Choose a squarefree integer and a residue for which
Then
Proof. Put . The proof of Theorem 9.1 gives
Every positive summand is at most , while nonpositive summands can only decrease the sum. Hence the number of separating orders in this progression is at least . Since the progression contains integers up to , dividing and taking the lower limit gives the result.
Limiting distributions and natural densities of separating orders
We strengthen the lower-density result of Theorem 9.1 to the existence of a natural density. The probabilistic argument below is independent of the finite certificates once the positive lower-density theorem is established. The existence and continuity of the limiting distribution of the individual totient ratio go back to Schoenberg [11]; see also Erdős [6] and Weingartner [13] for related distributional work. The truncation of multiplicative functions to small primes and the construction of limiting laws from independent prime components are also classical; see the general infinite-convolution framework of Jessen and Wintner [9]. Our specific application concerns the correlated sum of several consecutive shifts and its sign distribution. We do not claim the underlying probabilistic or concentration techniques as new; the argument here concerns the specific correlated Euler-product sum arising from consecutive shifts.
Fix integers , put , and set . Write
For each prime , let be an independent uniformly distributed residue modulo . Define
All these products converge almost surely to strictly positive random variables: for each ,
and for ; the factor at is harmless.
Theorem 10.1 (Limiting Euler-product distribution). For fixed , the empirical distributions of converge weakly to the distribution of . Moreover,
Proof. By the edge-count translation identity (Lemma 4.1) and the elementary coprimality-count estimate (Lemma 4.2),
For fixed , , proving the displayed approximation.
For , let and
The latter function is periodic modulo . Its empirical distribution therefore converges to the distribution of
by the Chinese remainder theorem. The elementary product inequality gives
For each fixed , counting multiples of among , , yields
Indeed, the finite- bound is at most . The extra term is at most , which tends to zero. Hence the corresponding mean error for is at most in the limit. On the random side, the truncated products converge almost surely to the positive products , and are bounded by one; therefore in . Applying these estimates to bounded Lipschitz test functions and then letting proves weak convergence.
Lemma 10.2 (Distinct finite Euler products). If is a finite set of distinct primes, the numbers
are pairwise distinct.
Proof. Suppose two such products are equal. First cancel the identical factors corresponding to primes in the intersection of the two indexing subsets. Let be the largest prime in their symmetric difference, and suppose that its factor belongs to the first remaining product. Every remaining prime is at most , and occurs as a denominator prime in only the first product; numerators for are also not divisible by . The factor has -adic valuation , while all factors corresponding to primes have -adic valuation . Hence the two rational products have different -adic valuations, a contradiction. □
Theorem 10.3 (Atomlessness of the limiting distribution). For each fixed , the distribution of has no atoms. In particular, .
Proof. Choose a distinguished . Reveal the residues for . For each prime , reveal whether equals for some and, if so, which . Let be the sigma-field generated by this information and let be the random set of primes for which no such hit occurs. Since the residues are distinct, conditional on the variables
are independent Bernoulli variables with parameters . All the other , , are -measurable. Moreover,
for an -measurable random constant (including the revealed small-prime factors).
For each , the probability that is . Thus
The nonnegative random sum on the left is therefore finite almost surely. By divergence of the sum of reciprocal primes,
Fix such a realization of . The remaining product is strictly positive almost surely, since
For a finite , put . By Lemma 10.2, distinct Bernoulli configurations give distinct values, so
As increases through the eligible primes, the right side tends to zero, since and . Writing , the tail is strictly positive and conditionally independent of . For every real ,
It follows that , and hence plus the -measurable sum of the other , has no conditional atoms. Integrating the conditional probabilities gives for every . □
Theorem 10.4 (Natural density of separating graph orders). For every pair of distinct positive integers , the natural density
exists. It is strictly positive if and only if . For it equals , with as defined above; for it equals .
Proof. For , Theorem 10.1 gives weak convergence of the empirical distributions of to the law of . By Theorem 10.3, the boundary of has probability zero, so the portmanteau theorem implies that the frequency of positive values converges to . For , reverse the sign of the difference and apply the same argument to . Finally, Theorem 9.1 shows that the resulting density is positive for every nonexceptional pair; for the two exceptional pairs it is zero by Lemma 2.1.
Proposition 10.5 (A finite prime-pattern certificate). Let , let be a positive integer, and set
For a residue put
If
then -primality does not imply -primality.
Proof. The defining Euler product gives . The conclusion follows from Theorem 8.2.
Proposition 10.6. There exist infinitely many positive integers such that . In particular, 11-primality does not imply 4-primality.
Proof. Choose , , and . For , the local factors contributed by the primes are, in order,
Their sum is , whereas
Furthermore,
Thus
Proposition 10.5 and Theorem 8.2 establish the assertion.
Theorem 10.7 (Large-prime-factor obstruction). Let , . If at least one integer in has a prime divisor greater than , then -primality does not imply -primality.
Proof. For let . For each prime prescribe . For , choose to avoid the at most residues modulo . The Chinese remainder theorem combines these choices. Then
As , the prefactor tends to . Every summand in the remaining sum is at least , with a strict inequality for an integer having a prime divisor greater than . Hence for sufficiently large finite , Theorem 8.2 applies.
Corollary 10.8. For all , -primality does not imply -primality.
Proof. Put . If , the Sylvester–Schur theorem [5] gives a prime divisor greater than in the block . If , Bertrand’s postulate [8] supplies a prime with , which lies in the block. Apply Theorem 10.7.
Lemma 10.9 (Shifted totient-sum criterion). Let and . If
then -primality does not imply -primality.
Proof. For primes impose . For , avoid all residues modulo . The Chinese remainder theorem yields a residue modulo . As , the sum of conditional densities tends to . The strict hypothesis and Theorem 8.2 finish the proof.
Corollary 10.10. For every , -primality does not imply -primality. For every , -primality does not imply -primality.
Proof. Write . For the difference between the two sums in Lemma 10.9 is . For it is , since the last two integers are consecutive and at least , one is even, and both have totient ratio strictly below .
Theorem 10.11 (Nonimplication to ordinary prime labeling). For every integer , there are infinitely many positive integers for which
In particular, -primality does not imply -primality.
Proof. Put and . By Bertrand’s postulate there is an odd prime with . Indeed, for odd , apply Bertrand’s postulate to ; for even , apply it to , noting that . Thus and .
For , let , the product over primes. Choose by the Chinese remainder theorem so that
The final conditions are feasible because each has more residue classes than the forbidden values. Let
For the original block , the unique multiple of is , and . For the shifted block , the unique multiple of is at position . Consequently, writing , the conditional density formula yields
Since is even, , so the expression in parentheses exceeds by at least . As , . Thus, for sufficiently large finite , the strict hypothesis of Theorem 8.2 holds with and . The result follows. □
Corollary 10.12. For distinct positive integers and , every -prime graph is -prime if and only if .
Proof. The implications for follow from Lemma 2.1. Theorem 10.11 rules out all . □
Positive-density source indices in every arithmetic progression
Theorem 11.1 (Progression-rich reverse nonimplications). Fix integers and , and a residue class . There exist a positive integer divisible by and a residue class with such that every sufficiently large positive integer satisfies
Consequently, the set of such source indices has positive lower natural density, including positive relative lower density within every prescribed residue class modulo .
Proof. Put , with , and let
Choose with . For $1\leq h<j$, choose pairwise coprime squarefree positive integers , each coprime to , such that . Such choices are possible by taking disjoint finite sets of primes outside the prime divisors of $M, using the divergence of the sum of reciprocals of primes. By the Chinese remainder theorem there is an integer satisfying
Let . For every sufficiently large integer , put . Then and . Moreover, , whence
The telescoping identity
shows that Lemma 10.9 applies, proving the asserted nonimplication for every such . These contain all sufficiently large members of one residue class modulo , of natural density and relative density within .
Further embedding obstructions
Proposition 12.1 (Clique-count obstruction). Let denote the number of -cliques in . If for some , then -primality does not imply -primality.
Proof. A spanning embedding maps distinct source -cliques injectively to distinct target -cliques.
Proposition 12.2. For every , .
Proof. The label 1 together with all primes at most forms a clique. Conversely, pairwise coprime labels greater than 1 require distinct prime divisors, of which there are only possibilities.
Finite separation certificates
The following statement is certified by exact integer gcd calculations and Proposition 5.4. The verification programs are printed in Appendices § 17 and § 18 and are also provided as separate supplementary Python files.
Proposition 13.1. For every pair of distinct integers with , -primality does not imply -primality.
Proof. For each ordered pair, the following table specifies an order for which either or some sorted degree of exceeds the corresponding sorted degree of . Each assertion is checked by the exact-arithmetic program in Appendix § 17, which enumerates all label pairs and computes their gcds. Proposition 5.4 then applies.
| 6 | 7 | 8 | 9 | 10 | 11 | 12 | |
| 6 | − | 8 | 8 | 8 | 6 | 12 | 9 |
| 7 | 3 | − | 3 | 4 | 3 | 5 | 3 |
| 8 | 4 | 10 | − | 4 | 6 | 10 | 4 |
| 9 | 3 | 9 | 3 | − | 3 | 11 | 3 |
| 10 | 4 | 8 | 5 | 4 | − | 12 | 4 |
| 11 | 3 | 8 | 3 | 4 | 3 | − | 3 |
| 12 | 9 | 8 | 8 | 8 | 6 | 12 | − |
Table 13.1.
Mixed-index separation and finite classification
Theorem 14.1. For each ordered pair with or , there is a graph that is -prime but not -prime.
Proof. The following tables give an order for which fails the necessary spanning-embedding conditions of Proposition 5.4. Each entry has the form if the edge count is strictly larger in the source, and if a sorted source degree exceeds the corresponding target degree. All entries are verified by the exact-arithmetic program in Appendix A.
| 6 | 7 | 8 | 9 | 10 | 11 | 12 | |
| 1 | |||||||
| 2 | |||||||
| 3 | |||||||
| 4 | |||||||
| 5 |
Table 3.
| 1 | 2 | 3 | 4 | 5 | |
| 6 | |||||
| 7 | |||||
| 8 | |||||
| 9 | |||||
| 10 | |||||
| 11 | |||||
| 12 |
Table 4.
Remark 14.2. The classification for indices at most 12 is a special case of Theorem 15.1. The finite tables in Proposition 13.1 and Theorem 14.1 record first separating orders and are retained as computational data.
Extended finite classification through index 30
The finite-range classification can be extended substantially using only the necessary embedding obstructions from Proposition 5.4.
Theorem 15.1. For distinct integers , every -prime graph is -prime if and only if .
Proof. The two positive implications follow from Lemma 2.1. For each of the other ordered pairs, the exact integer-arithmetic verification in Appendix A finds an integer with such that either , or the nondecreasing degree sequences satisfy for some . In either case, Proposition 5.4 gives a separating graph . The verification uses exhaustive finite loops over the stated ranges, so the appended code constitutes an explicit finite certificate. The bound is sharp for these two necessary embedding obstructions: for , neither the edge-count nor the sorted-degree obstruction occurs for , whereas . This statement concerns the first witness detected by these invariants, not necessarily the first order of any separating graph.*
Prime switching and the finite reduction
Lemma 16.1 (Singleton prime switch). Let and . Suppose there is an odd prime such that and is the unique multiple of in the interval . Suppose further that some even integer has a residue class modulo occurring exactly once in . Then -primality does not imply -primality; indeed for infinitely many .
Proof. For put
where ranges over primes. In the original small-prime pattern, the only -divisible position is , and . Fix the original divisibility patterns for all primes other than , and change the residue modulo so that its unique divisible position is . The Chinese remainder theorem permits these independent choices. The truncated total weight increases by
since is even and is odd. To compare with the required baseline, observe that
Summing over shows that the original truncated weight, in which the only -divisible position is , is at least . The switch therefore yields a strict excess of at least over the baseline before the large-prime factors are introduced. For each prime , choose a residue avoiding all positions; this is possible since . The resulting conditional-density sum is the improved truncated total multiplied by
where runs over primes. This is the Euler-product tail arising from primes not dividing the chosen squarefree modulus . Since , we have . The original strict excess therefore persists for sufficiently large finite , and the strict hypothesis of Theorem 8.2 holds. That theorem finishes the proof.
Theorem 16.2 (Uniform large-difference nonimplication). Let and . Then -primality does not imply -primality. In fact, for infinitely many .
Proof. We use Nagura’s theorem [10]: for every real there is a prime strictly between and . If , the Sylvester–Schur theorem [5] gives a prime divisor exceeding in , so Theorem 10.7 applies. If , Nagura’s theorem at gives a prime with . Since and , the prime belongs to . Apply Theorem 10.7 again. Finally suppose . Apply Nagura at to obtain a prime with . Then , and , so is the unique multiple of in . As , the positions in whose residues modulo occur exactly once are the consecutive integers
There are such positions. In particular, one of them is an even integer . Lemma 16.1 applies.
For and a prime , define
The switching test is ; its exact gain is .
Lemma 16.3 (Prime-gap characterization). Let , put , and let be the least prime strictly greater than . Then some integer in has a prime divisor greater than if and only if
Equivalently, the large-prime-factor criterion does not apply exactly when .
Proof. Every satisfies . If a prime divides , then , since a proper positive multiple of is at least . Thus the existence of such a prime divisor is equivalent to the presence in of a prime exceeding . The smallest such prime is ; it lies in exactly when , or .
Proposition 16.4 (Finite reduction by prime gaps). For every , setting , the implication -prime -prime fails.
Proof. By Lemma 16.3, a large-prime-factor certificate exists unless . The primes immediately following the integers give exactly the nine rows in Table 1; for every omitted the gap is at most 3, so no is exceptional. For completeness, the omitted values of are 5, 6, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 20, 21, 22, 26, 27, 28, 29, 30; for each, direct inspection of the next prime gives . Hence no omitted admits an exceptional target . The displayed exceptional values yield precisely fifteen pairs. For all other pairs, Theorem 10.7 proves nonimplication.
For the fifteen remaining pairs, Table 2 lists a prime and residue such that . We give the general switching argument explicitly. Choose a residue modulo
by the Chinese remainder theorem so that for every prime with , and . For each prime , choose to avoid the at most residues for . Put
where the product is over primes. Then
whereas
The difference is at least
which tends to as . Hence a sufficiently large finite satisfies the strict hypothesis of Theorem 8.2, proving nonimplication. The fifteen positive gains in Table 2 are exact rational evaluations of the explicitly defined sums . Each can be verified directly by factoring the integers in its interval and summing the indicated rational weights; Appendix § 18 supplies an independent executable check of the table and all 435 pairs. Thus the computer program is not required to establish the exhaustiveness of the fifteen cases.
| Exceptional | |||
| 7 | 11 | 4 | 4 |
| 13 | 17 | 4 | 4 |
| 19 | 23 | 4 | 4 |
| 23 | 29 | 6 | 4, 5, 6 |
| 24 | 29 | 5 | 4, 5 |
| 25 | 29 | 4 | 4 |
| 31 | 37 | 6 | 4, 5, 6 |
| 32 | 37 | 5 | 4, 5 |
| 33 | 37 | 4 | 4 |
Table 1. All values for which , and all exceptional targets lacking a large-prime-factor certificate.
| 4 | 7 | 2 | 1 | |
| 4 | 13 | 2 | 1 | |
| 4 | 19 | 2 | 1 | |
| 4 | 23 | 2 | 1 | |
| 5 | 23 | 3 | 1 | |
| 6 | 23 | 2 | 1 | |
| 4 | 24 | 2 | 1 | |
| 5 | 24 | 2 | 1 | |
| 4 | 25 | 2 | 1 | |
| 4 | 31 | 2 | 1 | |
| 5 | 31 | 3 | 1 | |
| 6 | 31 | 2 | 1 | |
| 4 | 32 | 2 | 1 | |
| 5 | 32 | 2 | 1 | |
| 4 | 33 | 2 | 1 |
Table 2. All fifteen exact prime-switch certificates remaining after the large-prime-factor test. Here , and the positive gain is . The improvement in the limiting truncated totient sum equals the displayed gain divided by . For , the weights are , giving .
Concluding remarks
Theorem 2.2 resolves Conjecture 2 of [14], and Corollary 2.3 establishes Conjecture 1 as an immediate consequence. The proof uses a uniform large-difference argument and an elementary prime-gap classification, leaving fifteen explicit rational switching inequalities; the appended programs independently verify the finite arithmetic. The natural-density theorem for separating graph orders strengthens the lower-density bound and identifies the limiting proportions through atomless random Euler products. The relative-density bound within a fixed progression is distinct from the positive-density theorem for source indices in prescribed arithmetic progressions. These results and the delayed-separation theorems provide quantitative information about the distinction between primality classes. Further questions concern the least order of a separating graph and structural explanations for the fifteen finite switching inequalities.
Exact verification for Theorem 15.1
The following self-contained Python 3 program uses exact integer arithmetic. It checks each of the 868 required ordered pairs, without any floating-point operations or heuristic graph-embedding routine.
from math import gcd
def invariants(k, n):
deg = [0] * n
for a in range(n):
for b in range(a + 1, n):
# gcd(k+a, k+b) = gcd(k+a, b-a)
if gcd(k + a, b - a) == 1:
deg[a] += 1
deg[b] += 1
return sum(deg) // 2, sorted(deg)
def obstruction(i, j, n):
ei, di = invariants(i, n)
ej, dj = invariants(j, n)
return ei > ej or any(a > b for a, b in zip(di, dj))
count = 0
largest_order = 0
for i in range(1, 31):
for j in range(1, 31):
if i == j or (i, j) in ((2, 1), (3, 1)):
continue
witnesses = [n for n in range(2, 31)
if obstruction(i, j, n)]
assert witnesses, (i, j)
largest_order = max(largest_order, witnesses[0])
count += 1
assert count == 868
print(’Verified’, count, ’ordered nonimplications’)
print(’Maximum first witness order:’, largest_order)
Finite certificates for Conjecture 2
"""Exact finite certificate for reverse k-prime nonimplications.
For 4 <= j < r < 34, verify either a prime factor > r in
[j,j+r-1], or a strictly improving local prime switch.
No floating point calculations or external dependencies.
"""
from fractions import Fraction
from math import isqrt
def primes_upto(n):
return [m for m in range(2,n+1) if all(m%d for d in range(2,isqrt(m)+1))]
def has_large_prime_factor(m,r):
x=m
for p in primes_upto(r):
while x%p==0:
x//=p
return x>1
def certificate(j,r):
interval=range(j,j+r)
for m in interval:
if has_large_prime_factor(m,r):
return (’large_prime’,m)
ps=primes_upto(r)
for p in ps:
weights={}
for m in interval:
v=Fraction(1)
for q in ps:
if q!=p and m%q==0:
v*=Fraction(q-1,q)
weights[m]=v
V=[sum((weights[m] for m in interval if m%p==b),Fraction(0)) for b in range(p)]
for b in range(1,p):
if V[b]<V[0]:
return (’switch’,p,b,V[0]-V[b])
return None
if __name__==’__main__’:
from collections import Counter
counts=Counter()
switches=[]
for r in range(5,34):
for j in range(4,r):
c=certificate(j,r)
assert c is not None, (j,r)
counts[c[0]]+=1
if c[0]==’switch’: switches.append((j,r,c[1],c[2],str(c[3])))
assert sum(counts.values())==435
print(’All 435 pairs certified:’,dict(counts))
print(’Switch cases (j,r,p,b,gain):’)
for row in switches:print(*row)
Data and code availability
The complete verification programs are printed in Appendices § 17 and § 18 and supplied separately as kprime_through30_verification.py and kprime_435_certificates.py. They require only the Python standard library.
Declaration on AI-assisted preparation
Generative AI tools were used to assist with manuscript editing, mathematical proof checking, and preparation of verification code. The mathematical statements and computational evidence remain subject to the authors’ independent review and responsibility.
References
- [1]O. A. Abughneim and B. Abughazaleh, On k-prime graphs, Open Mathematics 22 (2024), Article 20240097.DOI
- [2]T. M. Apostol, Introduction to Analytic Number Theory, Springer, 1976.
- [3]M. H. Bani Mostafa and E. Ghorbani, Hamiltonicity of a coprime graph, Graphs and Combinatorics 37 (2021), 2387–2395.
- [4]E. Berkove and M. Brilleslyper, Subgraphs of coprime graphs on sets of consecutive integers, INTEGERS 22 (2022), Article A47.DOI
- [5]P. Erdős, A theorem of Sylvester and Schur, Journal of the London Mathematical Society 9 (1934), 282–288.DOI
- [6]P. Erdős, On the distribution of numbers of the form σ(n)/n and on some related questions, Pacific Journal of Mathematics 52 (1974), 59–65.
- [7]J. A. Gallian, A dynamic survey of graph labeling, Electronic Journal of Combinatorics, Dynamic Survey DS6, 29th edition (2026).
- [8]G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 6th ed., Oxford University Press, 2008.
- [9]B. Jessen and A. Wintner, Distribution functions and the Riemann zeta function, Transactions of the American Mathematical Society 38 (1935), 48–88. DOI: 10.1090/S0002-9947-1935-1501802-5.DOI
- [10]J. Nagura, On the interval containing at least one prime number, Proceedings of the Japan Academy 28 (1952), 177–181.
- [11]I. J. Schoenberg, Über die asymptotische Verteilung reeller Zahlen mod 1, Mathematische Zeitschrift 28 (1928), 171–199.
- [12]S. K. Vaidya and U. M. Prajapati, Some results on prime and k-prime labeling, Journal of Mathematics Research 3(1) (2011), 66–75. DOI: 10.5539/jmr.v3n1p66.
- [13]A. Weingartner, The distribution functions of σ(n)/n and n/φ(n), Proceedings of the American Mathematical Society 135 (2007), 2677–2681.
- [14]J. Zhang and Y. Li, On k-Prime Cycle Snake Graphs, to appear in Journal of Combinatorial Mathematics and Combinatorial Computing.
- [15]J. Zhang and Y. Li, Uniform prime labeling trees, Congressus Numerantium 238 (2026), 93–112. DOI: 10.61091/cn238-04.DOI