Preprint
Article

This version is not peer-reviewed.

Cut Decomposition and Induced-Edge Statistics for Degree-Based Edge Indices under Thorn Reassignments on Regular Cores

Submitted:

07 October 2026

Posted:

09 October 2026

You are already at the latest version

Abstract
Let \(G\) be an \(r\)-regular graph of order \(n\), \(r \ge 1\), and form \(G^{(\mathbf{m})}\) by attaching \(m_v\) pendants to each core vertex \(v\). For a symmetric degree-based weight \(\varphi\), define \[ I_\varphi(H) = \sum_{uv \in E(H)} \varphi(d_H(u), d_H(v)). \] For reassignments of a fixed thorn multiset among core vertices, a multilevel decomposition expresses all placement dependence as a weighted sum of cuts between core-degree classes. The cut between classes \(a\) and \(b\) has coefficient \(-\tfrac12 \Delta\varphi(a,b)\), where \(\Delta\varphi(a,b) = \varphi(a,a) - 2\varphi(a,b) + \varphi(b,b)\). For a fixed core and a finite nonempty set \(A\) of attainable degrees, every thorn multiset whose core-vertex degrees lie in \(A\) is reassignment-invariant if and only if \(G\) is complete or the restriction of \(\varphi\) to \(A \times A\) is a symmetric sum matrix. Requiring invariance for every connected \(r\)-regular core with \(r \ge 2\) leaves only the sum-matrix case. With two thorn levels, \(I_\varphi\) is affine in the induced-edge count \(e_G(S)\) of the \(k\) vertices receiving the larger thorn number. This determines the complete value set, exact range, and fixed-cardinality invariance criterion. On cubic cores, minimizing the index is NP-hard when the affine coefficient is positive, and maximizing it is NP-hard when the coefficient is negative. For fixed \(k\), the mean and variance of \(e_G(S)\) under uniform \(k\)-set sampling depend only on \(n\) and \(r\). For \(3 \le k \le n-3\), the third factorial moment determines the triangle count, as does the index distribution when the affine coefficient is nonzero. Cycles and equal-part complete multipartite cores admit exact ranges, with consequences for Sombor-type indices. The results connect degree-based edge indices with quadratic assignment, fixed-cardinality induced-subgraph optimization, and random induced-subgraph statistics.
Keywords: 
;  ;  ;  ;  ;  ;  

1. Introduction

Let G be a finite simple graph with vertices v 1 , … , v n , and let p 1 , … , p n be non-negative integers. The thorny graph of G is obtained by attaching p i pendant vertices to v i for every i. This construction was introduced by Gutman [1]. When p 1 = … = p n , the resulting graph is called thorn-regular [2].
A broad class of vertex-degree-based (VDB) indices can be written as
I φ ( H ) = ∑ u v ∈ E ( H ) φ ( d H ( u ) , d H ( v ) ) ,
where φ : Z > 0 × Z > 0 → R is a fixed symmetric function. This is the VDB representation in terms of edge counts between prescribed degree classes [3], and it includes the Sombor index and many of its variants.
Fix a regular core and a multiset of thorn numbers, and permute the thorn numbers among the core vertices. The resulting core-edge weights may vary with the assignment. The questions concern exact criteria for reassignment invariance, the attainable values and range, and the complexity of finding an extremal placement.
The pendant-edge contribution depends only on the thorn multiset, so all variation lies in the core-edge term, a quadratic assignment objective. If the interaction matrix is a sum matrix, this objective is constant on a regular core by the sum-matrix property [4], while additive degree-based edge weights reduce to vertex sums [5]. These facts give sufficient conditions for invariance but do not determine the residual dependence for a general symmetric weight.
For comparison, Gutman [2] obtained a general formula for the ordinary Sombor index of thorny graphs. Its specialization to a uniform thorn number on a regular core appears in [2]. Here the attachment counts need not be uniform, and their assignment to the core vertices is part of the problem.
For any finite number of thorn levels, the placement-dependent term is a weighted sum of cuts. The cut between degree classes a and b has coefficient − 1 2 Δ φ ( a , b ) , where
Δ φ ( a , b ) = φ ( a , a ) − 2 φ ( a , b ) + φ ( b , b ) .
The decomposition also gives an exact invariance characterization. For a fixed r-regular core with r ≥ 1 and a finite nonempty set of admissible core-vertex degrees, every thorn multiset whose core-vertex degrees lie in that set is reassignment-invariant precisely when the core is complete or the restricted weight matrix is a symmetric sum matrix. Requiring invariance over every connected r-regular core with r ≥ 2 removes the complete-graph exception.
With two thorn levels, let S be the k vertices carrying the larger thorn number. The index is affine in e G ( S ) , so fixed-cardinality induced-edge counts govern its value set, range, and extrema. Apollonio [6] attributes the fixed-order characterization for ordinary graphs to earlier papers by Akiyama, Exoo and Harary, by Bosák, and by Širáň. The fixed-core criterion below uses Caro’s formulation [7]. The same affine relation shows that minimizing the index is NP-hard on cubic cores when the two-level coefficient is positive, while maximizing it is NP-hard when the coefficient is negative. For a regular core and fixed k, Apollonio’s formulas for the first two binomial moments of the induced-edge count [6] reduce to expressions involving only the order and regular degree of the core. For 3 ≤ k ≤ n − 3 , the third factorial moment determines the number of triangles. Thus regular cores with the same order and degree have the same mean and variance for e G ( S ) under uniform k-set sampling, although their distributions may differ. The two-level reduction therefore connects thorn reassignment with fixed-cardinality induced-subgraph optimization, computational complexity, and random induced-subgraph statistics.

2. Preliminaries

All graphs are finite, simple, and undirected. Let G be an r-regular graph of order n, where r ≥ 1 . For a vector m = ( m v ) v ∈ V ( G ) of non-negative integers, write G ( m ) for the thorny graph obtained by attaching m v pendant vertices to v.
The degree of a core vertex v in G ( m ) is
D v = r + m v ,
while every new pendant vertex has degree 1. For a fixed symmetric weight φ , the index splits as
I φ ( G ( m ) ) = ∑ u v ∈ E ( G ) φ ( D u , D v ) + ∑ v ∈ V ( G ) m v φ ( D v , 1 ) .
Write
P φ ( m ) = ∑ v ∈ V ( G ) m v φ ( D v , 1 ) .
This term depends only on the multiset of the values m v .
Let
A ( m ) = { D v : v ∈ V ( G ) } = { a 1 , … , a s } ,
where the a i are distinct. Put
V i = { v ∈ V ( G ) : D v = a i } , n i = | V i | .
For disjoint vertex sets X , Y ⊆ V ( G ) , let e G ( X , Y ) be the number of edges with one endpoint in X and the other in Y. Write e G ( X ) for the number of edges induced by X.
For positive integers a , b , define
Δ φ ( a , b ) = φ ( a , a ) − 2 φ ( a , b ) + φ ( b , b ) .
This quantity is the second difference of φ at a and b. Çela, Deineko and Woeginger [4] define a sum matrix by c i j = α i + α j . For symmetric matrices, this definition is equivalent to the following condition.
Lemma 1. 
Let A = { a 1 , … , a s } . The restriction of φ to A × A is a symmetric sum matrix if and only if Δ φ ( a i , a j ) = 0 for all i , j .
Proof. 
If φ ( a i , a j ) = α i + α j , then Δ φ ( a i , a j ) = 0 for all i , j . Conversely, if all these second differences vanish, set α i = 1 2 φ ( a i , a i ) . Then
φ ( a i , a j ) = 1 2 φ ( a i , a i ) + 1 2 φ ( a j , a j ) = α i + α j
for all i , j . □
The residual coefficient for the cut between the classes a i and a j is − 1 2 Δ φ ( a i , a j ) .
A reassignment of a thorn multiset means replacing m by a vector m ′ obtained by permuting its entries among the vertices of the same core G. The sets A ( m ) and the multiplicities n i remain fixed, but the vertex classes V i may change.

3. Main Results

3.1. The Cut Decomposition

For degree-based edge-weight indices, an additive edge weight reduces to a vertex sum [5]. The following identity separates the additive part from the residual cut term.
Theorem 1. 
Let G be an r-regular graph, let m be a thorn vector, and use the notation above. Then
I φ ( G ( m ) ) = P φ ( m ) + r 2 ∑ i = 1 s n i φ ( a i , a i ) − 1 2 ∑ 1 ≤ i < j ≤ s e G ( V i , V j ) Δ φ ( a i , a j ) .
In particular, for a fixed thorn multiset, all placement dependence is contained in the final weighted cut sum.
Proof. 
For a core edge u v with D u = a i and D v = a j , write
φ ( a i , a j ) = 1 2 φ ( a i , a i ) + 1 2 φ ( a j , a j ) − 1 2 Δ φ ( a i , a j ) .
When i = j , the last term is zero. Summing the first two terms over the core edges counts 1 2 φ ( D v , D v ) once for every core edge incident with v. Since G is r-regular, their total is
r 2 ∑ v ∈ V ( G ) φ ( D v , D v ) = r 2 ∑ i = 1 s n i φ ( a i , a i ) .
For i < j , exactly e G ( V i , V j ) core edges join the two degree classes. Adding the pendant contribution from (1) proves (3). □
Corollary 1. 
Let m and m ′ be reassignments of the same thorn multiset on G. Let V i and V i ′ be the classes of core vertices having degree a i in G ( m ) and G ( m ′ ) , respectively. Then
I φ ( G ( m ) ) − I φ ( G ( m ′ ) ) = − 1 2 ∑ i < j e G ( V i , V j ) − e G ( V i ′ , V j ′ ) Δ φ ( a i , a j ) .
Proof. 
The pendant term and the diagonal term in Theorem 1 depend only on the multiset and therefore cancel. □
The next characterization does not require the core to be connected. The sum-matrix implication follows from [4], while the necessity can also be deduced from the characterization of linearizable symmetric Koopmans–Beckmann quadratic assignment problems due to Punnen and Kabadi [8]. The proof below gives a direct argument in terms of the second difference.
Theorem 2. 
Let G be an r-regular graph of order n, where r ≥ 1 , and let A ⊆ { r , r + 1 , r + 2 , … } be finite and nonempty. The following are equivalent.
(i)
Any two reassignments of any thorn multiset for which all core vertices have degrees in A in the resulting thorny graph have the same I φ -value on G.
(ii)
The graph G is complete, or the restriction of φ to A × A is a symmetric sum matrix.
Proof. 
If the restriction is a sum matrix, Lemma 1 and Theorem 1 give invariance. If G is complete, the core-edge sum runs over all unordered pairs of core vertices and therefore depends only on the multiset of assigned degrees. The pendant term has the same property.
Conversely, suppose that G is not complete and that (i) holds. If | A | = 1 , the restriction is a sum matrix. Assume therefore that | A | ≥ 2 . Since r ≥ 1 , the graph has an edge x y . Because it is not complete, it also has a non-edge u v . Fix distinct a , b ∈ A . Attach b − r thorns to x and y and a − r thorns to every other vertex. Compare this placement with the one that attaches b − r thorns to u and v and a − r thorns to every other vertex. For a two-vertex b-class S, regularity gives
e G ( S , V ( G ) ∖ S ) = 2 r − 2 e G ( S ) .
The two cut sizes differ by 2, because e G ( { x , y } ) = 1 and e G ( { u , v } ) = 0 . Corollary 1 therefore gives the index value for the placement at x , y minus that for the placement at u , v as Δ φ ( a , b ) . Condition (i) implies Δ φ ( a , b ) = 0 . Since a , b were arbitrary, Lemma 1 proves that the restriction is a sum matrix. □
The complete-graph exception is essential. Every symmetric edge weight gives a reassignment-invariant index there because every pair of core vertices is adjacent. For invariance over all connected regular cores, that exception disappears as soon as r ≥ 2 .
Corollary 2. 
Fix an integer r ≥ 2 and a finite nonempty set A ⊆ { r , r + 1 , r + 2 , … } . The following are equivalent.
(i)
The restriction of φ to A × A is a symmetric sum matrix.
(ii)
For every connected r-regular graph G and every thorn multiset for which all core vertices have degrees in A in the resulting thorny graph, all reassignments of that multiset have the same I φ -value.
Proof. 
The implication (i)⇒(ii) follows from Theorem 1. Conversely, apply (ii) to the connected non-complete r-regular graph K r , r and invoke Theorem 2. □

3.2. Two Thorn Levels and Induced Subgraphs

Fix 0 ≤ p < q as the two possible thorn numbers. Put
a = r + p , b = r + q .
Let S ⊆ V ( G ) be the set of k vertices receiving q thorns. Every vertex outside S receives p thorns. Denote the resulting thorny graph by G ( p , q ; S ) .
Theorem 3. 
With the notation above,
I φ ( G ( p , q ; S ) ) = n r 2 φ ( a , a ) + r k φ ( a , b ) − φ ( a , a ) + e G ( S ) Δ φ ( a , b ) + ( n − k ) p φ ( a , 1 ) + k q φ ( b , 1 ) .
Consequently, for two k-subsets S , T ⊆ V ( G ) ,
I φ ( G ( p , q ; S ) ) − I φ ( G ( p , q ; T ) ) = e G ( S ) − e G ( T ) Δ φ ( a , b ) .
Proof. 
The number of core edges with both endpoints in S is e G ( S ) . Since the sum of the degrees in G of the vertices in S is r k , the number of core edges with exactly one endpoint in S is r k − 2 e G ( S ) . The remaining n r / 2 − r k + e G ( S ) core edges have both endpoints outside S. Hence the core contribution is
n r 2 − r k + e G ( S ) φ ( a , a ) + r k − 2 e G ( S ) φ ( a , b ) + e G ( S ) φ ( b , b ) ,
which simplifies to the first three terms in (4). The final two terms are the pendant contribution. Subtracting the formulas for S and T gives (5). □
For 0 ≤ k ≤ n , define
E k ( G ) = { e G ( S ) : S ⊆ V ( G ) , | S | = k } .
Then
M k ( G ) = max E k ( G ) , m k ( G ) = min E k ( G ) .
Corollary 3. 
Let G be an r-regular graph of order n. Fix 0 ≤ p < q and 0 ≤ k ≤ n , and put a = r + p and b = r + q . Set
C φ , p , q , k ( G ) = n r 2 φ ( a , a ) + r k φ ( a , b ) − φ ( a , a ) + ( n − k ) p φ ( a , 1 ) + k q φ ( b , 1 ) .
Let V φ , p , q , k ( G ) be the set of all values I φ ( G ( p , q ; S ) ) with S ⊆ V ( G ) and | S | = k . Then
V φ , p , q , k ( G ) = C φ , p , q , k ( G ) + t Δ φ ( a , b ) : t ∈ E k ( G ) .
The value-set identity has the following consequences.
  • If Δ φ ( a , b ) = 0 , all placements have the same value.
  • If Δ φ ( a , b ) ≠ 0 , two placements have the same value if and only if their selected k-sets induce the same number of edges.
  • The range of the index over all placements is
    max | S | = k I φ ( G ( p , q ; S ) ) − min | S | = k I φ ( G ( p , q ; S ) ) = | Δ φ ( a , b ) | M k ( G ) − m k ( G ) .
If Δ φ ( a , b ) > 0 , the maximum occurs on the densest selected k-sets and the minimum on the sparsest ones. If Δ φ ( a , b ) < 0 , the directions are reversed.
Proof. 
The value-set identity is the affine formula in Theorem 3 with e G ( S ) ranging over E k ( G ) . The remaining assertions follow from the same identity. □
Caro’s fixed-order characterization [7] is stated below.
Lemma 2. 
Let H be a graph of order n, and fix k with 2 ≤ k ≤ n − 2 . If e H ( S ) has the same value for every k-subset S ⊆ V ( H ) , then H is complete or edgeless.
Applying this characterization to Theorem 3 gives the following placement criterion.
Corollary 4. 
Let G be an r-regular graph of order n, let 0 ≤ p < q , and let 0 ≤ k ≤ n vertices receive q thorns. All placements have the same I φ -value if and only if at least one of the following holds.
  • Δ φ ( r + p , r + q ) = 0 .
  • k ∈ { 0 , 1 , n − 1 , n } .
  • G is complete.
In particular, if G is not complete, 2 ≤ k ≤ n − 2 , and Δ φ ( r + p , r + q ) ≠ 0 , then at least two placements have different values.
Proof. 
The three stated conditions are sufficient. The first follows from Theorem 3. For k = 0 or k = n there is only one placement. For k = 1 , every selected set induces no edge. For k = n − 1 , the selected set induces n r / 2 − r edges. On a complete graph, every k-set induces k 2 edges.
Conversely, suppose none of the three conditions holds. Then 2 ≤ k ≤ n − 2 , the second difference is nonzero, and G is neither complete nor edgeless. Lemma 2 gives two k-sets with different induced-edge counts. Equation (5) shows that the corresponding index values are different. □
Proposition 1. 
Let G be r-regular of order n and size n r / 2 . For 0 ≤ k ≤ n ,
M n − k ( G ) = n r 2 − r k + M k ( G ) , m n − k ( G ) = n r 2 − r k + m k ( G ) .
In particular,
M n − k ( G ) − m n − k ( G ) = M k ( G ) − m k ( G ) .
Proof. 
For every k-set S, regularity gives
e G ( V ( G ) ∖ S ) = n r 2 − r k + e G ( S ) .
Taking maxima and minima proves the result. □

3.2.1. Computational Complexity

Minimizing e G ( S ) over all k-subsets is the k-sparsest subgraph problem, a fixed-cardinality graph-partitioning problem [9]. Fomin et al. studied fixed-parameter approximation within the fixed-cardinality graph-partitioning family [10]. For a nonzero two-level coefficient, Theorem 3 shows that minimizing the index when the coefficient is positive, or maximizing it when the coefficient is negative, is equivalent to minimizing e G ( S ) . Maximum Independent Set is APX-complete even on 3-regular Hamiltonian graphs [11].
Theorem 4. 
Fix two integers 0 ≤ p < q and a symmetric weight φ such that
Δ φ ( 3 + p , 3 + q ) ≠ 0 .
Given a 3-regular graph G and an integer k with 0 ≤ k ≤ | V ( G ) | , finding a k-subset S ⊆ V ( G ) that minimizes I φ ( G ( p , q ; S ) ) when the second difference is positive, or maximizes it when the second difference is negative, is NP-hard. Here p , q , and φ are fixed and are not part of the instance.
Proof. 
Put a = 3 + p and b = 3 + q . By Theorem 3, there is a quantity C = C ( G , p , q , k , φ ) , independent of S, such that
I φ ( G ( p , q ; S ) ) = C + e G ( S ) Δ φ ( a , b ) .
The graph G has an independent set of size at least k if and only if it has a k-set S with e G ( S ) = 0 . If the second difference is positive, a minimizing placement has value C exactly when such an independent set exists. If the second difference is negative, the same statement holds for a maximizing placement. Consequently, a polynomial-time algorithm for the placement problem on 3-regular Hamiltonian cores would decide Independent Set on the same class in polynomial time. The claimed NP-hardness follows. □
The reduction proves hardness only when solving the index problem amounts to minimizing e G ( S ) . It gives no conclusion when solving it amounts to maximizing e G ( S ) .
Remark 1. 
The distinction between a fixed core and all regular cores is essential. On the complete graph K r + 1 , every k-set induces k 2 edges, so every symmetric weight gives the same index value for all placements of any two-level thorn multiset. Corollary 2 concerns invariance over all connected r-regular cores, where a nonzero second difference is exposed by K r , r .
Remark 2. 
Every automorphism orbit on the k-subsets of V ( G ) is contained in a single index-value class. When the two-level second difference is nonzero, the converse need not hold. The index depends only on the number of edges induced by the selected k-set, not on its full orbit or isomorphism type.

3.2.2. Random Placements and Induced-Edge Moments

Choose S uniformly from the k-subsets of V ( G ) and put X G , k = e G ( S ) . Alon, Hefetz, Krivelevich and Tyomkyn [12] studied fixed-order induced subgraphs with prescribed edge counts. At discrete time k, the edge count L ˙ k in Janson’s random vertex-uncovering process has the same distribution as X G , k [13]. Apollonio [6] computed the first two binomial moments of X G , k for arbitrary graphs. For regular cores, these moments yield the following mean and variance formulas.
For a non-negative integer x, write ( x ) 0 = 1 and ( x ) j = x ( x − 1 ) … ( x − j + 1 ) for j ≥ 1 . For 0 ≤ j ≤ n , put
π j = ( k ) j ( n ) j .
Lemma 3. 
Let G be an r-regular graph of order n ≥ 4 , and choose S uniformly from the k-subsets of V ( G ) , where 2 ≤ k ≤ n . Put
N = n r 2 , Q = n r 2 , R = N 2 − Q ,
and let X = e G ( S ) . Then
E X = N π 2 ,
Var ( X ) = N π 2 + 2 Q π 3 + 2 R π 4 − N 2 π 2 2 .
Proof. 
For a core edge e, let Y e indicate that both endpoints lie in S. Then X = ∑ e Y e gives E X = N π 2 . Of the N 2 unordered pairs of core edges, Q share a vertex and R are disjoint. Thus E ( X ) 2 = 2 Q π 3 + 2 R π 4 , and the variance identity gives the second formula. □
For fixed k, the displayed formulas depend on the core only through n and r. Since the index is affine in X, its mean and variance follow from the same formulas.
Corollary 5. 
Retain the notation of Lemma 3. Fix 0 ≤ p < q , put a = r + p and b = r + q , and let C denote the part of (4) independent of S. Then
E I φ ( G ( p , q ; S ) ) = C + Δ φ ( a , b ) N π 2 ,
Var I φ ( G ( p , q ; S ) ) = Δ φ ( a , b ) 2 N π 2 + 2 Q π 3 + 2 R π 4 − N 2 π 2 2 .
Proof. 
Apply the affine identity I φ ( G ( p , q ; S ) ) = C + Δ φ ( a , b ) X . □
Theorem 5. 
Assume n ≥ 6 . Let τ ( G ) be the number of triangles of G, and retain the notation of Lemma 3. Define
A 4 = n r 3 + N ( r − 1 ) 2 , A 5 = Q ( N − 3 r + 2 ) , A 6 = N 3 − A 4 − A 5 .
Then
E ( X ) 3 = 6 A 4 π 4 + A 5 π 5 + A 6 π 6 + τ ( G ) ( k ) 3 ( n − k ) 3 ( n ) 6 .
Consequently, if 3 ≤ k ≤ n − 3 , the distribution of X determines τ ( G ) . Under the same condition on k, for any fixed 0 ≤ p < q with Δ φ ( r + p , r + q ) ≠ 0 , the distribution of the corresponding two-level index values determines τ ( G ) as well.
Proof. 
Expand ( X ) 3 over ordered triples of distinct core edges. For an unordered triple of edges, the probability that all three belong to the induced subgraph on S is π j when their union has j vertices. There are τ ( G ) triples whose union is a triangle. The triples with four vertices consist of three-edge stars and three-edge paths. Their number is
n r 3 + N ( r − 1 ) 2 − 3 τ ( G ) = A 4 − 3 τ ( G ) .
A three-edge path is determined by its middle edge and one incident edge chosen at each endpoint, giving N ( r − 1 ) 2 choices. Each triangle gives three choices whose selected edges form the triangle rather than a path, so these choices must be excluded.
A triple with five vertices has one adjacent pair of selected edges and a third edge disjoint from their three vertices. For an adjacent pair whose outer vertices are not adjacent, the number of eligible third edges is N − 3 r + 2 . If the outer vertices are adjacent, the pair lies in a triangle and the number is N − 3 r + 3 . Since the Q = n r 2 adjacent pairs include exactly 3 τ ( G ) pairs of the second type, the total is
A 5 + 3 τ ( G ) .
The remaining A 6 − τ ( G ) triples are matchings of size three. Hence
1 6 E ( X ) 3 = τ ( G ) π 3 + ( A 4 − 3 τ ( G ) ) π 4 + ( A 5 + 3 τ ( G ) ) π 5 + ( A 6 − τ ( G ) ) π 6 .
The coefficient of τ ( G ) simplifies to
π 3 − 3 π 4 + 3 π 5 − π 6 = ( k ) 3 ( n − k ) 3 ( n ) 6 ,
which proves (10). This coefficient is positive for 3 ≤ k ≤ n − 3 . For fixed 0 ≤ p < q with Δ φ ( r + p , r + q ) ≠ 0 , the affine relation in Theorem 3 recovers X from the index value. □
Remark 3. 
Unlike the mean and variance, the full distribution need not be determined by n and r. For k = 3 , the event e G ( S ) = 3 means that S spans a triangle. The triangular prism has two such triples, whereas K 3 , 3 has none. Thus these two cubic graphs of order six have the same mean and variance in Lemma 3, but different placement distributions whenever the two-level second difference is nonzero.

3.3. Exact Ranges for Two Core Families

Corollary 3 reduces the range problem to computing M k ( G ) and m k ( G ) .

3.3.1. Cycle Cores

Vasilev [14] proved that consecutive vertices maximize the number of induced edges in every power of a cycle. The next proposition specializes this result to an ordinary cycle and also determines the minimum. A direct proof is included.
Proposition 2. 
Let G = C n , where n ≥ 4 , and let 1 ≤ k ≤ n − 1 . Then
M k ( C n ) = k − 1 , m k ( C n ) = max { 0 , 2 k − n } .
Consequently, for fixed 0 ≤ p < q , the range of the two-level index on C n is
| Δ φ ( 2 + p , 2 + q ) | k − 1 − max { 0 , 2 k − n } .
Proof. 
A set of k < n consecutive vertices induces a path with k − 1 edges, and no induced subgraph on k vertices of a cycle can contain more edges. This proves the maximum.
For a nonempty proper subset S of a cycle, let c ( S ) be the number of runs of consecutive selected vertices. Then e C n ( S ) = k − c ( S ) . The number of runs is at most k and at most n − k , because distinct runs require distinct unselected gaps. The bound min { k , n − k } is sharp, so
max c ( S ) = min { k , n − k } .
Therefore min e C n ( S ) = k − min { k , n − k } = max { 0 , 2 k − n } . The range formula follows from Corollary 3. □
For fixed 0 ≤ p < q and k = 2 , the index value for an adjacent placement minus that for a non-adjacent placement is Δ φ ( 2 + p , 2 + q ) . These two placements are used again in SubSection 3.4.

3.3.2. Equal-Part Complete Multipartite Cores

Proposition 3. 
Let G = K s , … , s be the complete t-partite graph with t ≥ 2 parts of size s ≥ 1 . Thus n = s t and G is s ( t − 1 ) -regular. For 0 ≤ k ≤ s t , write
k = t ℓ + u , 0 ≤ u < t ,
and
k = c s + d , 0 ≤ d < s .
Then
M k ( G ) = k 2 − u ℓ + 1 2 − ( t − u ) ℓ 2 ,
m k ( G ) = k 2 − c s 2 − d 2 .
Consequently, for fixed 0 ≤ p < q , the exact two-level placement range is | Δ φ ( s ( t − 1 ) + p , s ( t − 1 ) + q ) | times the difference between (11) and ().
Proof. 
Let x i be the number of selected vertices in the ith part. Then 0 ≤ x i ≤ s , ∑ i x i = k , and
e G ( S ) = ∑ i < j x i x j = k 2 − ∑ i = 1 t x i 2 .
The last sum is minimized when the x i differ by at most one, which gives u entries equal to ℓ + 1 and t − u equal to ℓ. It is maximized by filling parts successively, which gives c entries equal to s, one entry equal to d when d > 0 , and all remaining entries zero. These are exactly (11) and (). □
Corollary 6. 
For G = K r , r and 0 ≤ k ≤ 2 r ,
M k ( G ) = k 2 4 , m k ( G ) = 0 , 0 ≤ k ≤ r , r ( k − r ) , r < k ≤ 2 r .
Proof. 
Apply Proposition 3 with t = 2 and s = r . Balancing the selected vertices between the two parts gives M k ( G ) = ⌊ k 2 / 4 ⌋ . Concentrating them in one part as far as possible gives m k ( G ) = 0 for k ≤ r and m k ( G ) = r ( k − r ) for k > r . □

3.4. Consequences for Sombor-Type Indices

Consider the following five degree-based weights. The ordinary and reduced Sombor weights are
φ SO ( x , y ) = x 2 + y 2 , φ SO red ( x , y ) = ( x − 1 ) 2 + ( y − 1 ) 2 .
The ordinary and reduced Sombor indices were introduced by Gutman [15]. The elliptic and Euler Sombor weights are, respectively,
φ ESO ( x , y ) = ( x + y ) x 2 + y 2 , φ EU ( x , y ) = x 2 + x y + y 2 .
The elliptic Sombor index was introduced in [16]. The Euler Sombor weight displayed above is the one defined in [17]. The forgotten index, revisited by Furtula and Gutman [18], has edge weight φ F ( x , y ) = x 2 + y 2 .
For a , b ≥ 1 with a ≠ b , direct calculation gives
Δ φ SO ( a , b ) = 2 ( a + b ) − 2 a 2 + b 2 < 0 ,
Δ φ SO red ( a , b ) = 2 ( a + b − 2 ) − 2 ( a − 1 ) 2 + ( b − 1 ) 2 < 0 ,
Δ φ ESO ( a , b ) = 2 a 2 + b 2 2 ( a 2 + b 2 ) − ( a + b ) > 0 ,
Δ φ EU ( a , b ) = 3 ( a + b ) − 2 a 2 + a b + b 2 < 0 ,
Δ φ F ( a , b ) = 0 .
The first three inequalities follow from 2 ( a 2 + b 2 ) − ( a + b ) 2 = ( a − b ) 2 > 0 , with a , b replaced by a − 1 , b − 1 for the reduced weight. For the Euler weight,
4 ( a 2 + a b + b 2 ) − 3 ( a + b ) 2 = ( a − b ) 2 .
Thus, for each fixed pair 0 ≤ p < q , Theorem 4 shows that, on cubic cores, it is NP-hard to minimize the elliptic Sombor index and to maximize any of the ordinary, reduced, and Euler Sombor indices.
Corollary 7. 
Fix an r-regular core G of order n, two thorn numbers 0 ≤ p < q , and the number 0 ≤ k ≤ n of vertices receiving q thorns.
  • The ordinary Sombor, reduced Sombor, and Euler Sombor indices are maximized when the selected k-set induces as few core edges as possible and minimized when it induces as many as possible.
  • The elliptic Sombor index is maximized on the densest selected k-sets and minimized on the sparsest ones.
  • The forgotten index is independent of the placement.
For each non-additive weight, the exact range is the absolute value of the corresponding expression in (13)–() multiplied by M k ( G ) − m k ( G ) .
Proof. 
Apply Corollary 3 and the signs above. □
Example 1. 
Let the core be C 6 . For a two-set S, attach two pendants at each vertex of S and one at each vertex outside S. Thus a = 3 , b = 4 , and k = 2 . If S is an edge, then e C 6 ( S ) = 1 . If the two vertices of S are antipodal, then e C 6 ( S ) = 0 . The adjacent value minus the antipodal value is Δ φ ( 3 , 4 ) . Table 1 gives the resulting values.
Figure 1 illustrates the two placements. Their exact comparison follows from Theorem 3.

3.5. Relation to the Uniform Case

If m v = m for every v, write G ( m ) = G ( m ) . All core vertices have the same degree D = r + m in G ( m ) . The cut sum in Theorem 1 is empty, and
I φ ( G ( m ) ) = n r 2 φ ( D , D ) + n m φ ( D , 1 ) .
Equation (18) is the VDB degree-pair evaluation of the uniform construction [3]. For the ordinary Sombor weight, formula (18) coincides with the regular thorn-regular formula in [2].
Thus (18) serves only to connect the present formulas with the uniform case. The results for non-uniform attachments include the cut decomposition, the fixed-core and universal invariance criteria, the two-level ranges, the third-factorial-moment formula, and the complexity result.

4. Conclusions

For a fixed thorn multiset on a regular core, reassignment leaves the pendant-edge contribution unchanged and concentrates all remaining placement dependence in a weighted cut sum. This gives the fixed-core characterization. For an r-regular core with r ≥ 1 and a finite nonempty degree set A, every thorn multiset with core-vertex degrees in A is reassignment-invariant precisely when the core is complete or the restriction of φ to A × A is a symmetric sum matrix. Requiring the same invariance for every connected r-regular core with r ≥ 2 leaves only the sum-matrix alternative.
With two thorn levels, the placement problem reduces to e G ( S ) . This reduction determines the complete value set, exact range, and fixed-cardinality invariance criterion. For a nonzero affine coefficient, the extremal-placement problem is a fixed-cardinality induced-subgraph optimization problem. On cubic cores, minimizing the index is NP-hard for a positive coefficient, while maximizing it is NP-hard for a negative coefficient. For fixed k, the mean and variance of e G ( S ) under uniform k-set sampling depend on the core only through n and r. For 3 ≤ k ≤ n − 3 , the third factorial moment determines the triangle count. Exact ranges for cycles and equal-part complete multipartite cores, together with the Sombor-type consequences, illustrate the same reduction.
Regularity underlies this separation. On a non-regular core, the diagonal term can itself depend on the thorn assignment, so the original degree sequence interacts with the thorn levels. Such cores are not covered by the present characterization.

Conflicts of Interest

The author declares no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References

  1. Gutman, I. Distance of thorny graphs. Publ. Inst. Math. (Beograd) 1998, 63(77), 31–36. [Google Scholar] [CrossRef]
  2. Gutman, I. Sombor index of thorny graphs. Vojnoteh. Glas. 2025, 73(2), 413–422. [Google Scholar] [CrossRef]
  3. Rada, J.; Cruz, R. Vertex-degree-based topological indices over graphs. MATCH Commun. Math. Comput. Chem. 2014, 72, 603–616. [Google Scholar]
  4. Çela, E.; Deineko, V.G.; Woeginger, G.J. Well-solvable cases of the QAP with block-structured matrices. Discret. Appl. Math. 2015, 186, 56–65. [Google Scholar] [CrossRef]
  5. Hu, Z.; Li, L.; Li, X.; Peng, D. Extremal graphs for topological index defined by a degree-based edge-weight function. MATCH Commun. Math. Comput. Chem. 2022, 88, 505–520. [Google Scholar] [CrossRef]
  6. Apollonio, N. Second-order moments of the size of randomly induced subgraphs of given order. Discret. Appl. Math. 2024, 355, 46–56. [Google Scholar] [CrossRef]
  7. Caro, Y. On graphs with prescribed subgraphs of order k, and a theorem of Kelly and Merriell. Czechoslov. Math. J. 1994, 44, 623–629. [Google Scholar] [CrossRef]
  8. Punnen, A.P.; Kabadi, S.N. A linear time algorithm for the Koopmans–Beckmann QAP linearization and related problems. Discret. Optim. 2013, 10(3), 200–209. [Google Scholar] [CrossRef]
  9. Shachnai, H.; Zehavi, M. Parameterized algorithms for graph partitioning problems. Theory Comput. Syst. 2017, 61, 721–738. [Google Scholar] [CrossRef]
  10. Fomin, F.V.; Golovach, P.A.; Inamdar, T.; Koana, T. FPT approximation and subexponential algorithms for covering few or many edges. Inf. Process. Lett. 2024, 185, 106471. [Google Scholar] [CrossRef]
  11. Lozin, V.V.; Monnot, J.; Ries, B. On the maximum independent set problem in subclasses of subcubic graphs. J. Discret. Algorithms 2015, 31, 104–112. [Google Scholar] [CrossRef]
  12. Alon, N.; Hefetz, D.; Krivelevich, M.; Tyomkyn, M. Edge-statistics on large graphs. Comb. Probab. Comput. 2020, 29, 163–189. [Google Scholar] [CrossRef]
  13. Janson, S. Uncovering a graph. Probab. Theory Relat. Fields 2026, 195, 689–740. [Google Scholar] [CrossRef]
  14. Vasilev, K. The edge-isoperimetric inequality for powers of cycles. Math. Educ. Math. 2026, 55, 78–84. [Google Scholar] [CrossRef]
  15. Gutman, I. Geometric approach to degree-based topological indices: Sombor indices. MATCH Commun. Math. Comput. Chem. 2021, 86, 11–16. [Google Scholar]
  16. Gutman, I.; Furtula, B.; Öz, M.S. Geometric approach to vertex-degree-based topological indices: elliptic Sombor index, theory and application. Int. J. Quantum Chem. 2024, 124(2), e27346. [Google Scholar] [CrossRef]
  17. Gutman, I. Relating Sombor and Euler indices. Vojnoteh. Glas. 2024, 72(1), 1–12. [Google Scholar] [CrossRef]
  18. Furtula, B.; Gutman, I. A forgotten topological index. J. Math. Chem. 2015, 53, 1184–1190. [Google Scholar] [CrossRef]
Figure 1. Two placements of the thorn multiset { 2 , 2 , 1 , 1 , 1 , 1 } on the cycle core C 6 . The black core vertices form S and receive two pendants, while each core vertex outside S receives one pendant. In (a), the vertices of S are adjacent and e C 6 ( S ) = 1 , whereas in (b) they are antipodal and e C 6 ( S ) = 0 .
Figure 1. Two placements of the thorn multiset { 2 , 2 , 1 , 1 , 1 , 1 } on the cycle core C 6 . The black core vertices form S and receive two pendants, while each core vertex outside S receives one pendant. In (a), the vertices of S are adjacent and e C 6 ( S ) = 1 , whereas in (b) they are antipodal and e C 6 ( S ) = 0 .
Preprints 237127 g001
Table 1. Two placements of the thorn multiset { 2 , 2 , 1 , 1 , 1 , 1 } on C 6 .
Table 1. Two placements of the thorn multiset { 2 , 2 , 1 , 1 , 1 , 1 } on C 6 .
Index Adjacent Antipodal Adjacent minus antipodal
SO 57.5263 57.6268 − 0.1005
SO red 39.9390 40.0791 − 0.1400
ESO 324.6809 323.9702 + 0.7107
EU 67.4347 67.4759 − 0.0412
Forgotten F 244 244 0
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.