Symmetry of the Composite Numbers

Abstract

Traditionally, primes have been viewed as weeds appearing irregularly among the natural numbers, making their locations difficult to predict. We believe composite numbers, the complement of primes, exhibit symmetric patterns in their distribution. This study presents a new perspective: after systematically eliminating integers divisible by small primes such as 2, 3, 5, and 7, the remaining integers can be uniquely represented through a framework of roots and kins. Furthermore, all remaining composite numbers exhibit cyclic and mirror effects, enabling the construction of an extended Cyclic Table of Composites. Using this table, we derive a formula that identifies the locations of primes within any interval. Additional formulas for fast factorization and for locating twin primes, mirror primes, and prime tuples are also obtained. These results suggest that although primes themselves appear structureless, the composites surrounding them obey rich internal symmetries that allow efficient detection of “where primes hide”.

Share and Cite:

Li, H.-L., Fang, S.-C., Kuo, W. and Lin, N.R. (2026) Symmetry of the Composite Numbers. Advances in Pure Mathematics, 16, 69-90. doi: 10.4236/apm.2026.161006.

1. Introduction

Leonhard Euler once remarked, “Mathematicians have tried in vain to this day to discover some order in the sequence of prime numbers, and we have reason to believe that it is a mystery into which the human mind will never penetrate[1]. Don Zagier similarly noted that prime numbers “grow like weeds among the natural numbers, seeming to obey no other law than that of chance, and nobody can predict where the next one will sprout[2]. In fact, a few patterns have been observed in prime distribution, one of which is that prime numbers demonstrate higher density on the diagonal, horizontal, and vertical lines of the Ulam spiral (equivalently, certain quadratic polynomials generate more primes than others), but with no rigorous proof [3]. Even today, the fundamental question remains: given an interval of integers, where do the primes hide? In other words, we lack an explicit, efficiently computable rule for locating primes inside an arbitrary interval.

Classical sieve methods locate primes by removing all composites, but provide only partial solutions. The ancient Sieve of Eratosthenes [4] and its variants (e.g., Augmented Eratosthenes [4], Segmented Sieve of Eratosthenes [5], and Sieve of Sundaram [6]) exhaustively enumerate composites of certain multiplicative forms. Sieve of Atkin and Bernstein [7] leverages the properties of binary quadratic forms to recognize composites. Although the wheel sieve method [8] provides insight into the cyclic feature of composite distribution, it didn’t consider the symmetrical patterns of composites.

The number theory literature [1] [2] [4]-[11] affirms that no existing method provides a direct, effectively computable formula for listing primes solely within a given interval. Gauss’s prime number theorem [9] gives a celebrated asymptotic approximation of how many primes lie in an interval, but it cannot tell which values are prime.

Primes play essential roles in data science, color theory [12], reliability engineering [13], and cryptography. Our previous works introduced the Periodic Table of Primes (PTP) [14], periodic prime listings [15], and kernel-based semiprime factorization [16]. In this study, we uncover a striking phenomenon: once small primes are filtered out, the remaining composites form a structure governed by strong horizontal, vertical, and diagonal mirror symmetries. These symmetries allow rapid identification of composites within an interval, and the primes are then simply the remaining entries.

Our main contributions include: 1) Discovery and confirmation of the mirror symmetry in composite numbers, 2) Introduction of the kin-root framework, which shows that although primes appear structureless, composites possess strong governing structure, 3) Development of an extended Cyclic Table of Composites that enables efficient local processing of intervals, and 4) Formulas for prime location, factorization, twin primes, Pythagorean primes, prime tuples, and neighboring primes. This study offers an extension of the method to larger moduli for identifying large primes and factoring large composites.

2. Preliminaries

The Periodic Table of Primes was first derived from the Cyclic Table of Composites (CTC) by Li, Fang, and Kuo [14], which includes composite numbers without factors of 2, 3, 5, and 7 up to 2112. Though a similar period ( 2×3×5×7=210 ) appeared in the wheel sieve method [8], CTC is derived through a novel, rigorous method. In this paper, we reorganize the composites and reconstruct the CTC from a different angle, revealing the symmetry properties of the composites.

Our study is based on the following statements, which can be readily verified from [14]-[16].

Statement 1

Let

λ 7 =2×3×5×7=210 .

We can construct a set S 7 containing all integers less than 210 that are not divisible by 2, 3, 5, or 7. This set contains 48 such integers:

S 7 ={ 11, 13, 17, 23, , 103, 107, , 199, 209, 211 } .

Label these integers as

q 1 =11 , q 2 =13 , q 3 =17 , , q 23 =103 , q 24 =107 , , q 46 =199 , q 47 =209 , q 48 =211 .

Statement 2

For any positive integer α that contains no factors of 2, 3, 5, or 7, α can be expressed uniquely as

α= r i + λ 7 k= r i +210k ,

where r i S 7 is called the root, k is an integer (the kin), 210 is the period, and 0k210 . Thus, all such integers fall into 48 congruence classes modulo 210.

Statement 3

Every such integer α is either prime or composite. If α is composite, then it can be written as

α= r i +210k= q j m ,

where q j S 7 divides α and m is a positive integer.

Statement 4

To identify all composites and primes within an interval, it suffices to analyze the canonical interval

[ 11+210k, 211+210k ] , 0k210

Once all composites within this interval are listed, the primes in the same interval follow immediately as the remaining values.

Statement 5

Composites sharing the same root and factor exhibit a cyclic pattern. Let

α= r i +210k= q j m ,

and consider

α = r i +210( k+ q j ) .

Then, α has a kin value that is q j cycles larger than that of α , and satisfies

α = q j ( m+210 ) .

Thus, composites repeat periodically at intervals proportional to their factor q j .

Statement 6

Each composite

α 0 = r i +210k= q j m

has three corresponding “mirror” composites:

Vertical mirror:

α 1 = α 0 +210 q j .

Horizontal mirror:

α 2 = α 0 +210m .

Diagonal mirror:

α 3 = α 0 +210×( 210 q j m ) .

These mirror relationships create a symmetrical structure among composites. See Theorem 2 for further details.

Statement 7

Using the cyclic and mirror effects, we construct a 210-based extended Cyclic Table of Composites (eCTC), denoted eCTC210, containing tuples of the form

( k j ,  t i ) .

This table allows rapid identification of all composites in any interval.

Statement 8

With the eCTC, we derive:

  • a formula for locating primes efficiently within an interval,

  • a factorization formula based on kin-root relationships, and

  • a tuple-prime formula for identifying prime pairs and higher-order prime clusters.

Statement 9

Although Statements 1-8 are based on λ 7 =210 , the method extends naturally to larger moduli. For example:

λ 11 =2×3×5×7×11=2310 ,

λ 13 =2×3×5×7×11×13=30030 .

One may construct:

  • a kin-root table eCTC2310 to find primes in

[ 13+2310k, 2311+2310k ] .

  • or a kin-root table eCTC30030 to find primes in

[ 17+30030k, 30031+30030k ] .

These generalizations allow the method to scale to increasingly large intervals.

3. Extended Cyclic Table of Composites

In this section, we construct the proposed eCTC and examine its underlying structural properties.

Let

λ x = p{ 2,3,5,,x } p

be the product of all primes from 2 through x. For example:

λ 7 =2×3×5×7=210 , λ 11 =2310 , λ 13 =30030 , λ 17 =510510 .

3.1. Definition of the Root Set Sx

Let S x denote the set of positive integers not exceeding λ x +1 that have no prime factors among 2, 3, 5, , x . Examples include:

  • S 7 ={ 11, 13, 17, 19, 23, 27, , 211 } .

  • S 11 ={ 13, 17, 19, 23, 27, , 2311 } .

  • S 13 ={ 17, 19, 23, 27, 29, , 30031 } .

Let | S x | denote the number of elements in S x . For instance, | S 7 |=48 . In this section, we focus on the case x=7 , i.e., λ 7 =210 .

3.2. Kin-Root Representation

Consider any integer α satisfying

11α 211 2 and gcd( α, 210 )=1 .

Then, α can be uniquely expressed as:

α= r i +210k , i{ 1, 2, 3, , | S 7 | } , 0k210 . (1)

where

  • r i S 7 is the root,

  • 210 is the period,

  • k is the kin value of α . In other words, α is the k-th generation of r i .

Thus, ( k,  r i ) is the kin-root representation of α , serving as the key element in the table proposed later.

The full set S 7 is:

S 7 ={ r 1 =11 ,  r 2 =13,  r 3 =17,  r 4 =19,  r 5 =23,  r 6 =29,  r 7 =31, r 8 =37,  r 9 =41,  r 10 =43,  r 11 =47,  r 12 =53,  r 13 =59,  r 14 =61, r 15 =67,  r 16 =71,  r 17 =73,  r 18 =79,  r 19 =83,  r 20 =89,  r 21 =97, r 22 =101,  r 23 =103,  r 24 =107,  r 25 =109,  r 26 =113,  r 27 =121, r 28 =127,  r 29 =131,  r 30 =139,  r 31 =143,  r 32 =149,  r 33 =151, r 34 =157,  r 35 =163,  r 36 =167,  r 37 =169,  r 38 =173,  r 39 =179, r 40 =181,  r 41 =187,  r 42 =189,  r 43 =191,  r 44 =193,  r 45 =197, r 46 =199,  r 47 =209,  r 48 =211 }.

3.3. Factor Representation and eCTC Construction

Theorem 1

Let α= q j h i/j , where q j ,  h i/j S 7 and α has no factors of 2, 3, 5, and 7.

Then there exist values k i/j 0 (with 0 k i/j 211 ) and t i/j S 7 such that

α= t i/j +210 k i/j = q j h i/j (2)

This theorem enables the construction of eCTC210, a 48×48 table whose entries are expressed as:

( k i/j ,  t i/j ) ,

satisfying Equation (2).

The table has:

  • 48 columns, indexed by j=1, , 48 , corresponding to values of q j .

  • 48 rows, indexed by i=1, , 48 , corresponding to values of h i/j .

A schematic for eCTC210 is shown in Table 1. The full table is presented in Table 2(a) (for j=1, , 23 ) and Table 2(b) (for j=24, , 48 ).

3.4. Illustrative Entries in the eCTC

From Table 1:

  • For j=1 to 23 , the corresponding values are q 1 =11, ,  q 23 =107 .

  • For j=24 to 46 , the values are q 24 =107, ,  q 46 =199 .

  • For j=47, 48 , the values are q 47 =209 and q 48 =211 .

As examples:

  • For ( i,j )=( 1,1 ) ,

k 1/1 = 11×11 t 1/1 210 ,

given k 1/1 =0 and t 1/1 =121 .

Thus, the entry is ( k 1/1 , t 1/1 )=( 0,121 ) .

  • For ( i,j )=( 1,2 ) ,

k 1/2 = 13×11 t 1/2 210 ,

yielding k 1/2 =0 and t 1/2 =143 .

Thus, ( k 1/2 ,  t 1/2 )=( 0, 143 ) .

  • For ( i,j )=( 48,48 ) ,

k 48/48 = 211×211 t 48/48 210 ,

giving k 48/48 =211 and t 48/48 =211 .

3.5. Mirror and Symmetry Properties

Inspection of eCTC210 reveals striking mirror and symmetry phenomena among composites.

The relationships justify dividing eCTC210 into areas A, B, C, D, E, each of which can be subdivided into four regions, such as A1, A2, A3, A4. Table 1(b) specifies the ranges for each region; for example, region A1 corresponds to 1i22 and 1j23 .

3.6. Mirror Rules

Remark 1

Given a composite

Table 1. A schematic of eCTC210: (a) Divided regions of eCTC210; (b) Ranges of i and j for eCTC210 regions.

(a)

(b)

α 1 = q j × h i/j , q j ,  h i/j S 7 ,

we define

1) Vertical mirror:

α 2 = q j ×( 210 h i/j ) .

2) Horizontal mirror:

α 3 =( 210 q j )× h i/j .

3) Diagonal mirror:

α 4 =( 210 q j )×( 210 h i/j ) .

Theorem 2

Let ( k i/j ,  t i/j ) be an element in region A1, and

α a,1 = t i/j +210 k i/j = q j × h i/j

is a composite.

Then, in Table 1(a), we find that the vertical, horizontal, and diagonal mirrors of α a,1 :

1) Vertical mirror (region A2)

( q j 1 k i/j , 210 t i/j )

corresponds to a composite number

α a,2 = q j ( 210 h i/j ) .

2) Horizontal mirror (region A3)

( h i/j   k i/j 1, 210 t i/j )

corresponds to a composite number

α a,3 =( 210 q j )× h i/j .

3) Diagonal mirror (region A4)

( 210 q j h i/j + k i/j ,  t i/j )

corresponds to a composite number

α a,4 =( 210 q j )( 210 h i/j ) .

The vertical, horizontal, and diagonal mirrors of the B, C, D, E regions are derived similarly.

Example 1

Take q 1 =11 , and ( k 1/1 ,  t 1/1 )=( 0, 121 ) , so that

α a,1 =121 .

Then,

1) Vertical mirror

( 10, 89 )  11×89

2) Horizontal mirror

( 10, 89 )  199×11

3) Diagonal mirror

( 188, 121 )  199×199

3.7. Consequences of Mirror and Symmetry Effects

The symmetry properties imply that:

  • It suffices to generate entries ( k i/j , t i/j ) for the regions A1, B1, C1, D1, E1.

  • All remaining entries in regions A2, A3, A4, B2, B3, B4, C2, C3, C4, D2, D3, D4, E2, E3, and E4 follow directly by symmetry.

Examining Table 2(a) and Table 2(b), we conclude:

  • Composites without factors 2, 3, 5, and 7 appear in an unexpectedly orderly manner in the eCTC.

  • Every such composite has exactly three mirror counterparts.

  • The eCTC provides an efficient mechanism for listing all such composites in any interval

[ 11+210k, 211+210k ] , 0k210 .

The detailed procedure is given in the next section.

4. Formula of Primes

Based on Statement 5, we attain the following results.

Theorem 3 (Cyclic Effect)

Given an element ( k i/j ,  t i/j ) in eCTC210 with a corresponding composite

α= t i/j +210 k i/j = q j × h i/j ,

where h i/j S 7 , let k * N + with k * 211 , and suppose

k * = k i/j + q j m, m N + .

Then,

α * = t i/j +210 k *

is also a composite with the same root t i/j and cycle value m.

Proof

We have

α * = t i/j +210( k i/j + q j m )= q j h i/j +210 q j m= q j ( h i/j +210m ) . (3)

Hence, α * is a composite with root value t i/j .

Remark 2 (Reduced Kin Value)

For fixed q j and k * , define

k j ( k * )=min{ k * q j m|m N 0 , 0 k * q j m211 } .

The meaning of k j ( k * ) is: given q j S 7 and an integer k * with 0 k * 210 , there exists some m such that

0 k * q j m q j ,

and this value is taken as k j ( k * ) . If k * =0 , then m=0 and hence k j ( 0 )=0 .

Formula: Listing Composites in [ 11+210 k * ,211+210 k * ]

Consider integers of the form

α= r i +210 k * ,  r i S 7 .

Such an α is a composite (without factors 2, 3, 5, 7) if and only if there exists an element ( k i/j , t i/j ) in eCTC210 such that

k i/j = k j ( k * ) , t i/j = r i .

Table 2. (a) A full eCTC210 table, for j=1,2,,23 ; (b) A full eCTC210 table, for j=24,25,,48 .

(a)

(b)

Proof

We have

α= r i +210 k * = t i/j +210 k * .

By definition of k j ( k * ) of Remark 2, we can write

k * = k i/j + q j m

for some m N 0 . Thus,

α= t i/j +210 k i/j +210 q j m .

From Theorem 3, we know t i/j +210 k i/j = q j r i , for some r i S 7 .

Hence,

α= q j ( r i +210m ) ,

which shows that α is a composite number.

Example 2: Composites in [ 11, 211 ]

We first list composites in the base interval [11, 211]. Here,

α= r i +210 k * , k * =0 .

From eCTC210 (Table 2(a) and Table 2(b)), when k i/j = k j ( 0 )=0 , the entries with k i/j =0 and values t i/j are:

( 0,  t i/j ){ ( 0, 121 ), ( 0, 143 ), ( 0, 187 ), ( 0, 143 ), ( 0, 169 ), ( 0, 187 ) }

Thus, the composites in [11, 211] of the form α= r i +210×0 are

r i { 121, 143, 169, 187 } ,

as listed in Table 3(a).

Example 3: Composites in [ 11+210, 211+210 ]

Now consider the interval [ 11+210, 211+210 ]=[ 221, 421 ] . Here,

α= r i +210 k * , k * =1 .

Compute

k j ( 1 )=min{ 1 q j m }

For all relevant q j , the minimum is attached at m=0 , so k j ( 1 )=1 .

The entries in eCTC210 with k i/j =1 include:

( 1,  t i/j ){ ( 1, 43 ) , ( 1, 109 ), ( 1, 131 ), ( 1, 197 ), ( 1, 11 ), , ( 1, 193 ), ( 1, 11 ),, ( 1, 181 ), ( 1, 37 ),,  ( 1, 151 ) }

Therefore, the composites in [221, 421] (without factors 2, 3, 5, 7) are

α= r i +210 ,

where r i belongs to the root set

RS 1 ={ 11, 37, 43, 79, 89, 109, 113, 131, 151, 167, 181, 193, 197 } ,

as shown in Table 3(b).

Table 3. Example of a composites listing.

(a)

j

q j

k j ( 0 )

h i/j

1

11

0

121

143

187

2

13

0

143

169

3

17

0

187

4

19

0

5

23

0

6

29

0

7

31

0

8

37

0

9

41

0

10

43

0

11

47

0

12

53

0

13

59

0

14

61

0

15

67

0

16

71

0

17

7

0

18

73

0

19

83

0

20

89

0

21

97

0

22

101

0

23

103

0

24

107

0

25

109

0

26

113

0

27

121

0

28

127

0

(b)

j

q j

k j ( 1 )

h i/j

1

11

1

43

109

131

197

2

13

1

11

37

89

167

193

3

17

1

11

79

113

181

4

19

1

37

113

151

5

23

1

43

89

189

6

29

1

109

167

7

31

1

131

193

8

37

1

197

9

41

1

10

43

1

11

47

1

12

53

1

13

59

1

14

61

1

15

67

1

16

71

1

17

7

1

18

73

1

19

83

1

20

89

1

21

97

1

22

101

1

23

103

1

24

107

1

25

109

1

26

113

1

27

121

1

28

127

1

(c)

j

q j

k j ( 100 )

h i/j

1

11

1

43

109

131

197

2

13

9

47

73

151

3

17

15

29

97

131

199

4

19

5

71

109

5

23

8

137

6

29

13

83

199

7

31

7

173

8

37

26

53

127

9

41

18

197

10

43

14

113

199

11

47

6

103

12

53

47

41

13

59

41

181

14

61

39

167

15

67

33

16

71

29

17

7

27

97

18

73

21

19

83

20

89

21

97

22

101

100

109

23

103

24

107

100

79

25

109

100

37

26

113

100

131

27

121

28

127

100

209

Example 4: Composites in [ 11+210×100, 211+210×100 ]

Consider the interval

[ 11+210×100, 211+210×100 ]=[ 21011, 21211 ]

Here,

α= r i +210×100 , k * =100

Compute k j ( 100 ) for various q j :

k 1 ( 100 )=min{ 10011m }=1 ,

k 2 ( 100 )=min{ 10013m }=9 ,

k 3 ( 100 )=min{ 10017m }=15 ,

k 4 ( 100 )=min{ 10019m }=5 ,

k 5 ( 100 )=8 , k 6 ( 100 )=13 , k 7 ( 100 )=7, ,  k 28 ( 100 )=209 .

From eCTC210 (Table 2(a) and Table 2(b)) we observe:

  • For k 1 ( 100 )=1 , the related h i/j values are 43, 109, 131, 197.

  • For k 2 ( 100 )=9 , the related h i/j values are 47, 73, 151,

  • For k 15 ( 100 )=33 , there are no corresponding h i/j values.

  • For k 28 ( 100 )=100 , the related h i/j is 209.

Hence, the composites in [21011, 21211] (without factors 2, 3, 5, 7) are

α= r i +210×100 ,

where r i belongs to the root set

RS 2 ={ 29 , 37, 41, 43, 53, 71, 73, 79, 83, 97, 103, 109, 113, 127, 131, 151, 167, 173, 181, 197, 199,  209 },

as listed in Table 3(c).

Remark 3 (Prime Listing via Composite Removal)

To list all primes in the interval [ 11+210 k * , 211+210 k * ] , we proceed as follows:

1) First, list all integers in the interval that are coprime to 2, 3, 5, 7, i.e., all α= r i +210 k * with r i S 7 .

2) Then, remove from this set all composites (without factors 2, 3, 5, 7) found by the Formula of listing composites above.

The remaining integers are precisely the primes in that interval.

Formula: Prime Listing in [ 11+210 k * , 211+210 k * ]

Integers

α= r i +210 k * , r i S 7 ,

are prime if and only if they are not among the composites found by formula “Formula of listing composite within [ 11+210 k * , 211+210 k * ] .”

Example 5: Prime Numbers in Several Intervals

1) Primes in [ 11, 211 ]

From Example 2, the composites are 121, 143, 169, 187. Hence, the primes are

α= r i +210×0 , r i S 7 , r i { 121, 143, 169, 187 } .

2) Primes in [ 221,421 ]

From Example 3, the composites correspond to RS1. Thus, the primes are

α= r i +210 , r i S 7 , r i RS 1 ,

where RS1 is given above.

3) Primes in [ 21011, 21211 ]

From Example 4, the composites correspond to RS2. Thus, the primes are

α= r i +210×100 , r i S 7 , r i RS 2 .

Formula of Factorization

The table eCTC210 can also be used to factor a composite.

Consider a composite α satisfying

11α 211 2 , gcd( α, 210 )=1 .

Then α has a root r i S 7 and period k * 210 such that

α= r i +210 k * .

Factorization Formula

The composite α contains a factor q j S 7 if and only if there exists an element ( k i/j ,  t i/j ) in eCTC210 such that

k i/j = k * , t i/j = r i .

Example 6: Factorizing 2431

We have

2431=121+210×11

and the corresponding ( k * ,  r i )=( 11, 121 ) .

From eCTC210 for q 2 =13 , q 3 =17 , we have

( k 40/2 ,  t 40/2 )=( 11, 121 ) , ( k 31/3 ,  t 31/3 )=( 11, 121 ) .

Hence, 2431 contains factors 13 and 17. Also, 121=11×11 . Therefore,

2431=13×17×11 .

Example 7: Factorizing 39203

We write:

39203=143+210×186 .

Thus, the root is r i =143 and period k * =186 .

From eCTC210 at q j =197 , we find the entry

( 186, 143 ) ,

implying 197 divides 39203.

Therefore,

39203=197×199 .

5. Extension and Discussion

In this section, we extend the proposed framework to larger moduli and discuss related formulas, computational complexity, and potential applications.

5.1. Extension from S7 to S11, S13, …

The eCTC and the prime formulas above are based on the set S 7 and the modulus

2×3×5×7=210 ,

so that the associated primes are limited to those smaller than 2112. To study where larger primes hide, we extend the set from S 7 to S 11 , and further to S 13 ,  S 17 , 

Let

λ x =2×3×5××x ,

and let S x be the set of positive integers up to λ x +1 that are not divisible by any prime in { 2, 3, 5, , x } . Although the size of S x increases with x, the mirror and symmetry effects observed in the eCTC for S 7 remain structurally the same for all S x .

Figure 1 conceptually explains why higher-level sequences S x share the same features as S 7 :

1) Growth of | S x |

Denote | S x | as the number of elements in S x . Clearly, | S x | grows as x increases, reflecting the finer filtration by more primes.

2) Complementary pairs

For each S x , certain pairs of elements maintain a complementary relationship.

Figure 1. Extension from sequence S 7 to higher sequences.

For example:

  • in S 7 ,

11+199=13+197==103+107=210 .

  • in S 11 ,

13+2297=17+2293==1153+1157=2310 .

  • Even in S 23 ,

29+223092841==111546433+111546437=223092870 .

Thus, complementary pairs always sum to λ x (or its analogue), preserving a balanced structure.

3) Final rows and doubling property

In each S x , the last two entries form a special pair whose sum equals twice the product 2×3×5××x .

  • In S 7 , the last two elements are 209 and 211, with

209+211=2×210 .

  • In S 11 , the last two are 2309 and 2311, with

2309+2311=2×2310 .

4) Partition into regions

These structural properties ensure that the eCTC for S x can always be partitioned into regions A l , B l , C l , D l , E l , for l=1, 2, 3, 4 , in a manner analogous to eCTC210. Each eCTC contains a fixed, structured number of elements:

  • In eCTC210, there are ( 5+6+1 )×4=48 elements.

  • In eCTC2310, there are ( 59+60+1 )×4=480 elements.

  • In eCTC30030, there are ( 719+720+1 )×4=5760 elements.

This extension allows us to locate larger primes and factor larger composites efficiently.

Example 8: Factoring a Semiprime 5,246,767

Consider the semiprime 5,246,767. Since

210 2 <5246767< 2310 2 ,

we work with eCTC2310.

We write

5246767=757+2310×2271 .

From the eCTC for λ 11 =2310 , we identify r 100 =757 . For j=100 , we have q i =757 and q j =2311 .

Moreover,

2271=757+757×2+2311×0 .

Therefore,

5246767=757×( 2311+2310×2 )=757×6931 .

5.2. Additional Prime Formulas

We now derive several additional formulas related to prime distribution, twin primes, Pythagorean primes, prime tuples, and neighboring primes.

Let

d i ( k )={ 1, if α= r i +210k is prime, 0, otherwise,

for i=1, 2, , 48 and 0k210 .

Using the prime-listing formula, we obtain:

1) Formula for Prime Distribution

  • the number of primes in the interval [ 11+210k, 211+210k ] is

i=1 48 d i ( k ) .

  • The total number of primes in a range of blocks, say from k= k 1 to k= k 2 , is

k= k 1 k 2 i=1 48 d i ( k )

2) Formula for the n-th prime

Let the largest prime in the interval [ 11+210k, 211+210k ] be the n-th prime in the sequence of primes. Then

n=4+ j=0 k i=1 48 d i ( j ) ,

where the constant 4 accounts for the primes 2, 3, 5, 7, which are not included in the S 7 -based representation (with 2 regarded as the first prime).

3) Formula for Twin Primes

Primes α and α form a twin prime pair if

α= r i +210k , α = r i+1 +210k , r i+1 = r i +2 .

In other words, α and α differ by 2 and are twin primes.

4) Formula for Pythagorean Primes

A prime α is called a Pythagorean prime if a1 (mod 4), i.e.,

α=4l+1 , l N + ,

and it can be expressed as

α= m 2 + n 2 ,

where m is even, and n is odd.

A prime α= r i +210k is Pythagorean if:

a) r i =4l+1 . The kin value k is even,

b) r i =4l+3 . The kin value k is odd,

for some l N + .

5) Formula for l-Tuple Primes

A sequence of primes p a , p b , p c , , p h is called an l-tuple of primes if

p b p a = p c p b = p d p c == p h p g =l .

In our framework, a sequence of primes α 1 ,  α 2 , ,  α n forms an n-tuple of primes with step 210l and root r i (base 210) if:

α 1 = r i +210k

α 2 = r i +210( k+l )

α 3 = r i +210( k+2l )

α n = r i +210( k+( n1 )l )

6) Formula for Neighboring Primes

A sequence of primes α 1 ,  α 2 , ,  α n are called neighboring primes if there exist r i and k such that

α 1 = r i +210k , α 2 = r i+1 +210k , α 3 = r i+2 +210k , , α n = r i+n1 +210k .

Example 9: 30-Tuple Primes in [120,000,000, 122,000,000]

We seek primes forming 30-tuples in the interval [120,000,000, 122,000,000].

Since

122000000 11045 ,

we choose S 13 with modulus

2×3×5×7×11×13=30030 .

We consider a 30-tuple of the form:

p a = r i +30030k ,

p b = r i +30+30030k ,

p c = r i +60+30030k ,

p d = r i +90+30030k ,

p e = r i +120+30030k ,

p f = r i +150+30030k .

Solving within the target interval yields

k=4035 , r i =3761 ,

and the corresponding primes in a 30-tuple are:

p a =121174811 ,

p b =121174841 ,

p c =121174871 ,

p d =121174901 ,

p e =121174931 ,

p f =121174961 .

6. Conclusion

In this study, we derive the kin-root representation for composite numbers without factors 2, 3, 5, and 7. We construct an extended Cyclic Table of Composites using kin-root tuples, and reveal mirror and symmetry properties within the table. We then attain formulas of primes. Primes within a given interval can be located by eliminating all composites related to the table. Additional examples and extensions to larger cases are provided.

Funding

This work is supported in part by CityU 9610556.

Acknowledgements

We are grateful for the in-kind support from NTU and for the constructive comments on the article from the anonymous reviewers.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Dickson, L.E. (2005) History of the Theory of Numbers, Volume II: Diophantine Analysis. Dover Publications.
[2] Zagier, D. (1977) The First 50 Million Prime Numbers. The Mathematical Intelligencer, 1, 7-19.[CrossRef]
[3] Stein, M.L., Ulam, S.M. and Wells, M.B. (1964) A Visual Display of Some Properties of the Distribution of Primes. The American Mathematical Monthly, 71, 516-520.[CrossRef]
[4] Ribenboim, P. (1996) The New Book of Prime Number Records. Springer.[CrossRef]
[5] Crandall, R. and Pomerance, C. (2005) Prime Numbers: A Computational Perspective. Springer.
[6] Aiyar, V.R. (1934) Sundaram’s Sieve for Prime Numbers. The Mathematics Student, 2, 73.
[7] Atkin, A.O.L. and Bernstein, D.J. (2003) Prime Sieves Using Binary Quadratic Forms. Mathematics of Computation, 73, 1023-1030.[CrossRef]
[8] Pritchard, P. (1982) Explaining the Wheel Sieve. Acta Informatica, 17, 477-485.[CrossRef]
[9] Kumanduri, R. and Romero, C. (1998) Number Theory with Computer Applications. Prentice Hall.
[10] Matiyasevich, Y.V. (1999) Formulas for Prime Numbers. In: Tabachnikov, S., Ed., Kvant Selecta: Algebra and Analysis (Vol. 2), American Mathematical Society, 13-24.
[11] Zagier, D. (1997) Newman’s Short Proof of the Prime Number Theorem. The American Mathematical Monthly, 104, 705-708.[CrossRef]
[12] Li, H., Fang, S., Lin, B.M.T. and Kuo, W. (2023) Unifying Colors by Primes. Light: Science & Applications, 12, Article No. 32.[CrossRef] [PubMed]
[13] Li, H., Huang, Y., Fang, S. and Kuo, W. (2021) A Prime-Logarithmic Method for Optimal Reliability Design. IEEE Transactions on Reliability, 70, 146-162.[CrossRef]
[14] Li, H., Fang, S. and Kuo, W. (2024) The Periodic Table of Primes. Advances in Pure Mathematics, 14, 394-419.[CrossRef]
[15] Li, H., Fang, S., Kuo, W. and Lin, N. (2025) Listing Prime Numbers Periodically. Advances in Pure Mathematics, 15, 247-268.[CrossRef]
[16] Li, H., Fang, S., Kuo, W. and Lin, N. (2025) Kernel Factor Pairs for Semiprime Factorization. Advances in Pure Mathematics, 15, 629-642.[CrossRef]

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.