Next Article in Journal
Geometric Realization of Triality via Octonionic Vector Fields
Previous Article in Journal
Matrix Fraction Description in Large Scale MIMO Descriptor Systems: Matrix Polynomials Approaches
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Formation of Periodic Mosaic Structures Using Operations in Galois Fields

by
Dina Shaltykova
1,
Yelizaveta Vitulyova
1,2,
Akhat S. Bakirov
3,* and
Ibragim Suleimenov
1
1
National Engineering Academy of the Republic of Kazakhstan, Almaty 050010, Kazakhstan
2
JSC «Institute of Digital Engineering and Technology», Almaty 050013, Kazakhstan
3
Institute of Communication and Space Engineering, Gumarbek Daukeev Almaty University of Power Engineering and Communications, Almaty 050013, Kazakhstan
*
Author to whom correspondence should be addressed.
Symmetry 2025, 17(9), 1415; https://doi.org/10.3390/sym17091415
Submission received: 24 July 2025 / Revised: 17 August 2025 / Accepted: 25 August 2025 / Published: 1 September 2025
(This article belongs to the Section Mathematics)

Abstract

Mosaic ornaments and periodic geometric patterns are deeply rooted in cultural heritage and contemporary design, where symmetry plays a fundamental role in both aesthetic and cognitive perception. This study develops an algebraic method for generating symmetrical and periodic mosaic structures using operations in Galois fields. The approach demonstrates that the intrinsic properties of finite fields naturally give rise to symmetry and periodicity, eliminating the need for specific initial patterns, even when applied to relatively simple algebraic expressions such as the Bernoulli lemniscate and the cissoid of Diocles. The proposed algorithm offers the advantages of simplicity and the ability to provide gradual transitions from one mosaic structure to another. Furthermore, it is demonstrated that standardization of algebraic expressions used for mosaic generation can be efficiently achieved through discrete logarithm operations. A novel method for computing discrete logarithms is introduced. The results confirm that symmetrical structures of high complexity can be obtained through simple expressions, and their periodicity becomes more pronounced with increasing field characteristics. This approach offers practical applications in textile and wallpaper design, smart materials, and psychological testing, while also suggesting new perspectives for the analysis of mosaic-like natural systems where symmetry is a defining property.

1. Introduction

Mosaic ornaments and geometric patterns, characterized by a high degree of symmetry, constitute an integral part of the cultural heritage of various nations across the world [1,2,3].
Such ornaments have been employed for centuries, including as elements of frescoes and in the architectural decoration of buildings, such as churches and cathedrals [4], mosques and mausoleums [5], as well as Hindu and Buddhist temples [6]. Geometric mosaic patterns remain widely used today, for instance in urban architectural design, as well as in the production of textiles, carpets, and related artifacts.
The advancement of technologies for the production of textiles, carpets, and other household items (including the increasing adoption of 3D printing [7,8,9]) requires an expansion of the spectrum of design methods available for the generation of patterns. An illustrative example is the development of smart textiles [10,11], which opens new opportunities for the creation of nontrivial and innovative designs.
These possibilities can be employed to enhance psychological comfort for consumers [11,12], including for the correction of psychological states [12,13]. Moreover, several hypotheses have been proposed suggesting that mosaics may be considered as a paradigm of visual construction that extends beyond the scope of decorative art [14]. This perspective is consistent with conclusions drawn in earlier studies [15,16].
At present, the costs of producing textile, wallpaper, and related patterns remain relatively high, as they require the involvement of highly paid professional designers [17]. In the literature, attempts have been reported to improve [18,19] and to algorithmize [20,21,22] the process of pattern generation. However, these approaches do not enable the efficient production of a wide variety of designs at high speed, nor do they facilitate the creation of sequences of patterns that gradually transform from one into another. These aspects are of particular importance for allowing consumers to select the most suitable designs, especially when patterns are employed for psychological correction.
Mosaic structures generated automatically (including in high-frame-rate modes) are of interest for the advancement of psychological testing methods, particularly in projective techniques [23,24]. One of the most widely used among these is the psychogeometric test developed by Susan Dellinger [25]. The application of such techniques is often met with criticism [26], which can be addressed by selecting appropriate geometric structures capable of evoking associations, including at the archetypal level [27]. The variability of patterns used in psychological testing also facilitates the refinement of association-based methodologies, the most renowned of which is the Rorschach test [28,29]. This is particularly relevant in the context of testing large population groups.
The objective of this study is to develop a relatively simple and efficient method for generating periodic mosaic structures, including those characterized by a high degree of symmetry, as well as the possibility of ensuring smooth transitions from one mosaic to another.
The algorithm employs Galois fields, which are increasingly applied in digital image processing [30,31] and in other digital technologies [32,33], including elliptic curve cryptography (ECC) [34,35]. For the purpose of mosaic generation, particularly in applications related to psychological testing, however, such algebraic structures have not previously been utilized. This problem is addressed for the first time in the present work. It should be emphasized that studies on mosaic structures, including two-dimensional ones, are well known (in addition to the works mentioned above, see also [36,37]). Nevertheless, these studies have not addressed the problem of high-speed generation of such structures, and especially not the creation of mosaics capable of gradually transforming from one into another.
The principal tool enabling sequential transitions between mosaic structures is the novel method for computing discrete logarithms in Galois fields, introduced here for the first time. This method is based on the application of an algebraic delta function [38]. In the cryptographic literature, it is widely acknowledged that until recently, the problem of computing discrete logarithms remained intractable [39]. In particular, it has been noted that the first practical public-key cryptosystem, the Diffie–Hellman key exchange algorithm, relies on the assumption that discrete logarithms are computationally hard. This assumption, characterized as a hypothesis, underpins the presumed security of various other public-key schemes and, as emphasized in [39], remains a formidable challenge. At the time of publication [39], this hypothesis was the subject of extensive debate, and the discussion has continued in subsequent research [40].
In the present study, a novel approach to discrete logarithm computation is proposed, complementing the algorithm for mosaic generation. This algorithm is applicable, at least, to relatively small Galois fields GF(p) (since the use of fields with very large values of p is not meaningful for mosaic construction) and is introduced here for the first time.
The study also discusses potential directions for further application of the proposed framework. One promising avenue arises from the observation that many natural objects, including those of critical importance for agricultural land monitoring, exhibit structures closely resembling mosaics [41,42,43].

2. Methods

Various functions F x , y that take values in the field G F p are employed. The arguments of these functions are also elements of the same Galois field. The elements of this field are represented in the following form (the validity of this representation is most clearly demonstrated in [44]):
G F ( p ) p 1 2 ,   p 1 2 + 1 , ,   1,0 , 1 , , p 1 2
This representation is adequate because, except for the case of p = 2 which is not of interest, the number p is odd. This representation, among other things, makes the use of the minus sign in all subsequent calculations completely correct [44].
A discrete two-dimensional Cartesian coordinate system was employed, in which each integer value of both coordinates is associated with an element of the field G F ( p ) . This approach corresponds to the partitioning of the image plane into individual pixels, each of which is assigned discrete values n x ,   n y , with 0 n x , y p 1 . It should be emphasized that pixel-based image partitioning is also employed in other studies on mosaic generation, in particular in [20]. For each pixel, a specific function F x , y , was computed, also taking values in this field. This operation is essentially equivalent to calculating the remainder of the division of F x , y by the prime number p .
Subsequently, the values of the function were mapped onto the set 1 ,   1 :
Q F ( x , y ) = 1 , F x , y < 0 1 , F x , y 0
It should be emphasized that Formula (2) provides a natural way to assign a specific discrete indicator to each pixel. In the case of two-color mosaics, this indicator assumes two values determined by the sign of the function defined over the Galois field. Furthermore, as will become evident in the subsequent discussion, it is precisely the properties of the Galois field that ensure the periodic nature of the generated mosaics, despite the fact that the employed functions, when considered over continuous variables, do not exhibit such periodicity.
The results of this mapping constitute mosaics (where the minus sign corresponds to white fields and the plus sign to colored ones), which are analyzed below. The principal distinction of the present method from approaches such as those described in [20,21,22] lies in the fact that, in this case, a single function F x , y can be employed to describe the mosaic, and the computations are carried out using the simple expression (2), which significantly simplifies the algorithmic implementation of mosaic generation. The programming code is particularly straightforward when the function F x , y is applied without additional correction. This code is provided in Supporting Information S1.

3. Results

Let us consider specific examples of mosaics that can be generated using mapping (2). For this purpose, the programming code provided in Supporting Information S1 was used. Figure 1, Figure 2, Figure 3 and Figure 4 correspond to the case where the field G F ( 61 ) is used. In these figures, as well as in all other figures presented in this study, the size of the field along both the horizontal and vertical axes is equal to twice the value of p , corresponding to the utilized field G F ( p ) . Specifically, Figure 1 shows a mosaic formed by means of the following function:
f x , y = x + a y
for parameter values a = 5 and a = 45 , respectively.
It can be observed that the simplest linear equation gives periodic structures that, up to discretization accuracy, resemble a system of equidistant parallel stripes. It should be noted that even this simplest example demonstrates the advantages of using Galois fields for constructing periodic mosaics. The original function, when considered as a function over the set of real numbers, does not inherently produce periodicity. However, when functions taking values in Galois fields are employed, such periodicity becomes apparent, even in the most elementary case.
Figure 2 presents a mosaic, characterized by a high degree of symmetry, generated using the following function:
f x , y = x + a y 2
for a = 5 and a = 45 , respectively.
It can be observed that in this case the primary structure corresponding to a system of equidistant stripes is preserved, although the internal structure of the stripes undergoes a transformation. It is worth emphasizing once again that the structure shown in Figure 2 reflects the distinctive properties of Galois fields. If the original function, including (4), is considered over the set of real variables, it is not periodic. Periodicity emerges when the function takes values in a Galois field, and the resulting mosaic structure becomes highly nontrivial, despite the fact that the underlying equation remains relatively simple.
Figure 3 presents a mosaic generated using the following function:
f x , y = x 2 + a y  
(the parameter values are indicated in the figure caption).
It can be observed that periodicity is again evident in this case, driven by the operation of taking the remainder modulo the prime number p , that defines the field G F ( p ) . The underlying structure of the mosaics shown in Figure 3 corresponds to a system of parabolas, shifted relative to one another along the vertical axis.
Figure 4 presents a mosaic generated using the Bernoulli lemniscate for parameter values a = 3   a = 15 and a = 30 respectively.
f x , y = x 2 + y 2 a 2 ( x 2 y 2 )
It can be observed that a relatively minor complication of the employed function results in the emergence of a highly nontrivial mosaic structure, the characteristics of which strongly depend on the value of the control parameter a , while still retaining a high degree of symmetry.
This provides evidence that the proposed approach enables the generation of a wide variety of mosaic structures using comparatively simple means. Moreover, it also allows for a sequential transition from one mosaic to another by gradually varying the control parameter in small increments.
Figure 5 shows mosaics also generated using function (6), but for the field G F ( 127 ) . As in previous cases, the field size along each axis equals twice the value of p , corresponding to the employed Galois field.
It can be observed that when transitioning from the field G F ( 61 ) to G F ( 127 ) , the characteristics of the mosaics generated using Equation (6) remain similar (for the same value of the single control parameter). The difference lies in the fact that, as the level of mosaic detail increases with the field characteristic, the periodic nature of the resulting structures becomes more pronounced. In particular, the structure shown in Figure 5c can be interpreted as the result of an “interference” between periodically repeating systems of concentric circles, whereas this feature is far less evident in Figure 4c. It can also be noted that for practical purposes such as generating patterns for textiles, floor tiles, wallpapers, and similar applications, it is sufficient to use Galois fields with relatively small characteristics, i.e., without excessively increasing the level of detail in the generated structures. The same applies to mosaics intended for psychological testing.
Thus, even the relatively simple algebraic expression, the Bernoulli lemniscate (6), allows for the generation of a wide variety of mosaics. Evidently, a considerable number of different algebraic expressions can be proposed, including those based on heuristic considerations. Therefore, it is reasonable to consider the possibility of unifying the generation of such mosaics. This task is feasible precisely due to the specific properties of Galois fields (finite commutative fields) and their algebraic extensions.
Indeed, if expression (6) is regarded as a polynomial dependent on y , then its factorization into linear factors can be considered by using Equation (6) in its transformed form:
y 2 1 + a 2 + x 2 1 a 2 = 0
It can be seen that this equation is a particular case of an equation of the following form:
y 2 f x = 0
where the function f x , in general, depend on one or several additional parameters.
Consequently, the question of factorization of a polynomial of the form (8) reduces to the question of factorization of the following equation:
y 2 b = 0 ,   b G F ( p )
for arbitrary values of b .
Let us clarify why factorization is of interest in the context of mosaic generation using the proposed algorithm. When Equation (8) is expressed in terms of functions over real variables and f x > 0 , Equation (8) can be decomposed into two equations that may be considered independently. Specifically, in this case, Equation (8) can be written as
y f x y + f x = 0
Equation (10) is evidently satisfied if y f x = 0 or y + f x = 0 , i.e., one can reduce the problem to the consideration of equations linear in y . However, when the function f x takes values in a Galois field, the analog of the square root operation exhibits well-defined specific characteristics. These characteristics are as follows.
All nonzero elements b of the field G F ( p ) satisfy the equation [45]
b p 1 1 = 0
Each such element can be expressed as a power of a primitive element θ 0 , the number of which depends on the prime p .
b n = θ 0 n ; n = 0,2 , , p 2
Consequently, it is permissible to distinguish between elements that are even and odd powers of θ 0
b n = θ 0 k θ 0 2 m ;   k = 0,1 ; m = 0,1 , , p 1 2
As a result, the set of equations of the form (9) splits into two subsets corresponding to the following formulas:
y 2 θ 0 2 m = 0
y 2 θ 0 θ 0 2 m = 0
Equation (14) is solved straightforwardly. Since division by nonzero elements is allowed in Galois fields, we achieve the following formula:
y θ 0 m 2 = 1 ;   y = ± θ 0 m
Therefore, in this case, the following is true:
y 2 b = y + θ 0 m y θ 0 m
Equation (15) has no solution within the base Galois field. Otherwise, the square root can be extracted only for half of the elements of the field G F ( p ) . However, the specific properties of Galois fields allow this problem to be resolved. Specifically, solutions of Equation (15) arise when passing to algebraic extensions, which are constructed precisely through irreducible algebraic equations [46,47]. This method is analogous to the construction of complex numbers, which are defined by the following equation:
y 2 + 1 = 0
whose solution is the imaginary unit i , such that i 2 = 1 .
An analog of the imaginary unit for Galois fields G F ( p ) can be constructed using the following equation, which, as noted above, has no solution in the base field G F p .
y 2 θ 0 = 0
This analog, as discussed in [48], provides the possibility to interpret the solution of Equation (19) as a logical imaginary unit, since the set of elements of the Galois field G F ( p ) can be put into correspondence with the set of values of a variable in p -valued logic. The same notation will be used for this analog, i.e.,
i 2 = θ 0
It can be easily shown that any equation of the form (15) can be solved using this logical imaginary unit. Indeed, rewriting it as follows:
y θ 0 m 2 = θ 0 ,
we obtain the following:
y = ± i θ 0 m
Thus, for the considered polynomial, factorization into linear factors can be indicated in this case as well:
y 2 b = y + i θ 0 m y i θ 0 m
Combining expressions (17) and (23), it follows that any polynomial of the form (9) can be factorized as follows:
y 2 b x = y + w x y w x
where the function w x takes values in an algebraic extension of the base Galois field.
Although the reasoning underlying this result is elementary from the perspective of abstract algebra, it is significant for constructing mosaics of the considered type, since any algebraic expression involving y 2 , can be brought to the form (24), which is an analog of the expression corresponding to two intersecting lines (see Figure 6):
f x , y = y 2 a 2 x 2 = y + a x y a x
Furthermore, from Formulas (14) and (15), it follows that the key operation for finding the function w x given a known function b x is the operation of discrete logarithm calculation, which allows determining the exponent of the primitive element for any nonzero element of the field G F ( p ) . This operation, in particular, enables the extraction of the square root of any element of G F ( p ) when passing to its algebraic extension corresponding to the introduction of a logical imaginary unit. This operation can be expressed by the following formula:
x = θ n n
The discrete logarithm operation has been considered in numerous studies. Notably, Joux’s algorithm [49], the baby-step giant-step algorithm [50,51], and the Pohlig–Hellman algorithm [52,53], among others, are well known. In the realm of quantum computing, Shor’s algorithm is of particular interest [54,55]. As noted in the aforementioned studies [39,40], a significant limitation of existing methods for computing discrete logarithms is the substantial computational resources required. In the present work, the method previously proposed in [56] is employed, which is based on representing a primitive element as a product of factors, thereby substantially simplifying the computations. The method can be described as follows.
Let the number p 1 be factorized into the following product of powers of prime numbers p i :
p 1 = p 1 q 1 p 2 q 2 p k q k
Then, an arbitrary nonzero element of the field G F ( p ) can be represented as the following product:
z = g 1 s 1 g 2 s 2 g k s k
where the exponents s i vary within the range from 0 to s i m = p 1 q 1 , and g i are elements of the considered field satisfying the following condition:
g i p 1 q 1 = 1
For illustration, let us consider the specific example of the field G F ( 61 ) . In this case, the following:
60 = 2 2 · 3 · 5
Based on Formula (30), it is straightforward to observe that any element of this field can be expressed in the form (28), specifically as follows:
z = g 1 s 1 g 2 s 2 g 3 s 3
where the elements g i can be chosen as follows g 1 = 11 ; g 2 = 13 ; g 3 = 3 . Some arbitrariness in the choice of these elements exists because Equation (29) may be satisfied by various g i . Furthermore, the following relations hold:
g 1 4 = 1 ;   g 2 3 = 1 ;   g 3 5 = 1
Consequently, the exponents s i vary within the ranges s 1 = 0 ,   1 ,   2 ,   3 ; s 2 = 0 ,   1 ,   2 ; s 3 = 0 ,   1 ,   2 ,   3 ,   4 , since due to (32) the exponents in expression (31) are effectively computed modulo the powers of prime numbers appearing in the factorization (30), i.e., modulo 4, 3, and 5, respectively.
Let us consider the important particular case s 1,2 , 3 = 1 . Then the product is computed modulo 61, as follows:
z 0 = g 1 g 2 g 3 = 2
Let us consider the next expression in which the product is also computed modulo 61:
z 0 r = g 1 r g 2 r g 3 r
By virtue of property (32), this expression can be rewritten as follows:
z 0 r = g 1 r ( m o d 4 ) g 2 r ( m o d 3 ) g 3 r ( m o d 5 )
It can be observed that the exponents of the elements g i n the given expression vary within the same ranges as the exponents s i in Formula (31). Moreover, the set of powers of the element z 0 exhausts all possible combinations of the exponents s i . Therefore, the element z 0 , appearing in Formula (33) is primitive, i.e.,
z 0 = θ 0
The obtained result is illustrated in Table 1. The first three columns of this table indicate the factors entering the product (35). The fourth column shows the element of the base Galois field formed according to Formula (35). The fifth column presents the corresponding power of the primitive element. It is evident that the values in the first three columns vary periodically with periods 4, 3, and 5, respectively, which fully corresponds to Formula (35). For clarity, the unit elements in the first three columns are highlighted in bold; these elements mark the periods of variation in the quantities g i r ( m o d 4 ) . Table 1 also expresses the direct relationship between the considered field element and its discrete logarithm.
The method for calculating the discrete logarithm used in [56] is based on determining the exponents s i . These exponents, corresponding to each element of the considered field, are presented in Table 2. The first three columns of this table contain the three values of s i , which can be referred to as partial discrete logarithms. For clarity, the unit values of s i are highlighted in bold in the table, marking the periods and emphasizing the periodic nature of their variation. The fourth column shows the element u of the considered Galois field corresponding to the given set of s i values. The fifth column presents the discrete logarithm of this element, denoted as D l u . It can be seen that it is precisely the mismatch of the periods of s i , that allows the computation of the discrete logarithms of all nonzero elements of the considered field. The fifth and sixth columns display the exponents corresponding to the real and imaginary parts of the value w , respectively. It can be observed that, in this case, the values in the first three columns also exhibit periodic variation. Additionally, this table enables the determination of the function w ( x ) from the function b ( x ) .
The relationship between the exponents s i and the value of the discrete logarithm follows from the following considerations. The computation of the discrete logarithm represents a mapping from the Galois field to the ring of residue classes modulo p 1 .
Elements of such a ring, in the most general case, admit the following representation through idempotent elements, as employed, among others, in [57]:
s e 1 s 1 + e 2 s 2 + + e N s N ,   m o d ( p 1 )
where e i are idempotent mutually annihilating elements, and s i = 0 , 1 , 2 , , p i q i 1 .
Formula (37) is given for the set of exponents s i , corresponding to the exponent r , i.e., the discrete logarithm of a certain element of the considered Galois field. The idempotent elements are formed according to the rule [57]:
e i = α i i j N p j
where α i is an integer. The choice of these integers is made under the following condition:
e i e i = 1
The following is evident from the construction:
e i p i 0 ( P )
because any product of the form (40) contains the factorization p 1 = p 1 p 2 p N .
For the particular case G F ( 61 ) Formula (37) takes the following form:
r 45 · s 1 + 40 · s 2 + 36 · u 3 ,   m o d ( 60 )
whereas before, s 1 = 0,1 , 2,3 ; s 2 = 0,1 , 2 ; s 3 = 0,1 , 2,3 , 4 . The fact that the numbers 45, 40, and 36 are idempotent elements modulo 60 can be verified directly.
Therefore, as employed in [56], by determining the exponents s i , one can compute the value of the discrete logarithm according to Formula (39). This methodology also enables deriving the explicit form of the function w x , which, according to Formula (24), defines a specific mosaic. To achieve this, it suffices to separate the even and odd values of r , then compute either r 2 (for even r ) or r 1 2 (or odd r ). The values of the function w x are then calculated as either θ 0 r 2 , or i θ 0 r 1 2 .
The method to identify the values of s i , is based on the following reasoning. In [38], the algebraic delta function was defined as follows:
δ x x i = 1 x x i p 1 ,
where x i is a fixed element of the field G F ( p ) .
It has the following property, which follows from relation (11):
δ x x i = 1 ,     x = x i 0 ,     x x i .
Next, let us consider the following polynomial:
F x = m = 0 m = p 1 D l θ m δ x θ m ,
where D l θ m = m corresponds to the discrete logarithm values (an example is contained in Table 1). When a particular element x = θ m 0 of the corresponding Galois field is substituted into expression (44), all summands in the sum vanish except the one where m = m 0 . Hence,
F x m .
It can be observed that the use of the algebraic delta function indeed allows the problem of computing discrete logarithms to be resolved in an exceptionally transparent manner. The elements x m = θ m enter Formula (44) directly in the order corresponding to the computation of the discrete logarithm; therefore, when summing the polynomial in (44), its value is obtained automatically.
However, computing large powers according to Formula (42) is not an optimal procedure. It is much more convenient to consider the identifiers s i , i.e., values, the number of which is significantly smaller than the total number of field elements. The corresponding function is given by the following:
S i x = k = 0 k = p 1 s i θ m δ x θ m ,   i = 1,2 , 3 ,
In this expression, s i θ m represents the value of s i for the k -th nonzero field element, i.e., element x k = θ 0 k (the numbering of field elements can be chosen arbitrarily). As emphasized by Table 2, the functions s i x k , are periodic. For the specific field G F 61 their periods are 4, 3, and 5, respectively. We will demonstrate that the periodic nature of these functions significantly simplifies the computation of expressions of the form (44) or (46).
In the theory of algebraic fields, the following is proved [45]:
y ± x q = y q ± x q
where q is the characteristic of the field.
For fields G F ( p ) the number p coincides with the characteristic. Direct verification proves the validity of the following equality:
y p x p = y x y p 1 + y p 2 x + + y x p 2 + x p 1
Substituting the ratio (47) in the right part of Formula (48), we get the following:
y x p 1 = y p 1 + y p 2 x + + y x p 2 + x p 1
Consequently, the expression (44) can be represented as follows:
S i x = 1 x p 1 k = 0 k = p 1 s i x k k = 1 k = p 1 x p 1 k Q k
where
Q k = l = 1 l = p 1 s i x l x l k = l = 1 l = p 1 s i θ l θ k l ,
The first term in (50) vanishes by virtue of relation (11).
Sequences
w m = 1 , θ m , θ 2 m , θ 3 m , , θ p 2 m
form [57] a complete orthogonal basis on the interval containing p-1 cycles, i.e.,
j = 0 j = p 2 w k 1 j w k 2 j = 1 , k 1 k 2 m o d   p 1   0 , k 1 k 2 m o d p 1
Therefore, the Q k values are non-binary Galois fields Fourier transform functions s i θ l :
Q k = F ^ s i x = l = 1 l = p 1 s i θ l θ k · l
Importantly, the functions s i θ l are periodic with a relatively small number of periods. For example, if a function has period 5, then the number of nonzero spectral components cannot exceed 5. Consequently, an expression of the form (51) contains no more than five terms in this case, which significantly simplifies computational procedures.
A block diagram illustrating the generalized procedure for computing the discrete logarithm using the proposed methodology is shown in Figure 7.
The initial step involves selecting the Galois field to be used for mosaic construction (“Initial field GF(p)”). Next, according to Formula (27), the number p 1 is factorized into prime factors (“Decomposition of number p 1 ”). Based on these values, the values g i are selected (“Numbers g i ”), which allow the primitive element to be represented as a product of roots of unity in accordance with Formula (31). Finding such values constitutes an independent task; however, as follows from the results presented below, for applied purposes related to mosaic generation, it is sufficient to use Galois fields with relatively small characteristics. Since the number of primes in the range from 1 to 300 is limited, pre-tabulated values can be used when implementing the algorithm.
Using the values of g i , periodic functions (“Periodic functions”) entering Formula (46) are then constructed. Examples of such functions are presented in Table 2, columns 1–3. In parallel, an orthogonal basis (“Orthogonal basis”) is formed, determined by the employed Galois field according to Formula (53). Using this basis, the spectral components of the functions in Formula (46) are computed (“Spectral components”). On this basis, the quantities s i (“Partial values s i ”) are calculated, from which, using Formula (37), the discrete logarithm (“Discrete logarithm”) for a given number x (“Initial x ”) is determined. An example of programming code implementing the discrete logarithm operation is provided in Supporting Information S2.
Examples of the application of the discrete logarithm computation algorithm are illustrated in Figure 8 and Figure 9. Figure 8 shows examples of functions b x corresponding to mosaics constructed using Formula (7), i.e.,
b x = x 2 a 2 1 1 + a 2 1
Figure 9 presents the functions corresponding to the solutions of Equations (15) for these particular cases. Figure 9a and Figure 9b correspond to the imaginary parts of the extracted square root for the cases of Figure 8a and Figure 8b, respectively.
Notably, in the calculation according to Formula (55), the inverse element of the sum 1 + a 2 within the sense of the employed Galois field is used (fractional values do not arise).
It can be observed that the considered algorithm indeed allows the description of rather complex mosaics to be reduced to relatively simple functions, albeit taking values in an algebraic extension of the base Galois field. On this basis, it is possible, in perspective, to develop a method for generating mosaics by directly specifying the functions w x . In particular, it is permissible to construct mosaics in which the functions w x take only real values. The first step in this direction involves a method in which the functions b x , initially computed based on polynomial functions, are subsequently modified in various ways. At the next stage, it becomes possible to implement an algorithm that ensures a gradual (stepwise) transition from one type of mosaic to another. A preliminary experiment demonstrating the potential of this approach is presented in Supporting Information S3. In this experiment, the programming code provided in Supporting Information S3 was used. The code employs the same mosaic generation algorithm as that in Supporting Information S1, with the exception that every second computed value is artificially set to zero. The examples presented in Supporting Information S3 show that, in this case, the resulting mosaic structures approximate configurations that visually decompose into fragments corresponding to parallel ornamented bands. For generality, the code reads the functions b x from a separate file.
Despite the simplicity of expression (25), this expression enables the generation of a wide range of nontrivial mosaics. In particular, Figure 10, Figure 11, Figure 12, Figure 13, Figure 14 and Figure 15 present mosaics obtained using the following algebraic expression:
f x , y = y 2 a x x 2
It can be seen that the polynomial on the right-hand side can also be brought to the form (25), since it can be transformed into the following equality:
y 2 x 2 a x 1 = 0
In the construction of the mosaics presented in Figure 11, Figure 12, Figure 13, Figure 14 and Figure 15, smoothing of the resulting structures was also applied. An algorithm analogous to the moving average method was employed. For each pixel with coordinates i , j , a square centered at that pixel is considered. For Figure 11b, Figure 12b, Figure 13b, Figure 14b and Figure 15b, this square includes 9 pixels (including the central pixel), while for Figure 12c, Figure 13c, Figure 14c and Figure 15c, it includes 25 pixels. The resulting color is determined based on the majority of pixels (white or colored) within the selected square.
The resulting mosaics demonstrate that the smoothing procedure allows the periodic nature of mosaics generated using Galois fields with relatively large characteristics to be clearly revealed. Smoothing also provides an additional tool for mosaic generation, since increasing the field characteristic (even only up to 257) produces an excessively complex mosaic, which is unlikely to be of practical interest, particularly for applications such as textile or wallpaper pattern design. The use of excessively complex mosaics in psychological testing is also not justified.
For comparison, Figure 16 presents mosaics formed using the cissoid of Diocles.
f x , y = y 2 a x x 3
The presented mosaics indicate that, in terms of mosaic generation, transitioning to more complex equations (even cubic equations) is not always justified. Visually, mosaics corresponding to an equation containing a variable to the third power are similar to those generated using simpler equations. This observation, of course, does not preclude potential applications of more complex equations in the future. However, for the purposes of psychological testing and for generating patterns used in the production of textiles, wallpapers, and similar materials, it is sufficient to employ relatively simple algebraic expressions.

4. Discussions

The use of Galois fields enables the development of a relatively simple algorithm for generating mosaics suitable for applied purposes, such as the production of textiles, including smart textiles [10], wallpapers, floor coverings, and similar applications. Modern manufacturing technologies allow for the production of wallpapers, carpets, and similar products tailored to individual preferences [12,17]. Many commonly used patterns are geometric in nature and closely resemble the mosaics examined in this study. Therefore, there is potential to select mosaic patterns not only for aesthetic appeal but also for enhancing psychological comfort in living environments.
Another promising area of application for such mosaics is the development of novel approaches to improving established psychological testing methods, in particular those such as the Rorschach test [28,29]. It should be noted that other commonly used tests also employ well-defined images (in particular, the Szondi Test [24] and Susan Dellinger’s psychogeometric test [25], both of which were mentioned above). These techniques have been subject to considerable criticism [26], which also applies to the Rorschach test [58]. The automatic generation of mosaics capable of evoking specific associations in test subjects offers a pathway to improving association-based methods, as suggested in [27]. Crucially, the link between mosaics and algebraic structures is essential for the statistical analysis and validation of the obtained results.
The main advantage of using Galois fields for these purposes lies in the possibility of employing extremely simple algebraic expressions to generate relatively complex mosaics. A comparison of the main characteristics of the proposed approach with previously known methods is presented in Table 3. It should be emphasized that this table does not consider the metric of mosaic generation speed. This metric is not critical, as practical applications in the contexts under consideration only require reaching a rate of 24 frames per second, which corresponds to the existing standard. Achieving higher speeds is not meaningful.
The simplicity and convenience of mosaic generation using the proposed algorithm (Supporting Information S1) also enable the development of a comprehensive psychological testing methodology, simultaneously oriented toward analyzing the current psychological state of the subject and identifying factors corresponding to archetypal levels. As demonstrated in [1,2], cited in the Introduction, mosaic ornaments are an integral part of the cultural heritage of many nations worldwide. Accordingly, there is reason to believe that the corresponding patterns, in one way or another, correlate with archetypes. On this basis, a comprehensive psychological testing methodology could be developed in the future, in which both mosaics correlating with culturally traditional patterns and responses to specific questions are employed.
For the development of such methodologies (as well as for the refinement of psychological testing methods based on the findings of [27] and similar studies), the ability to generate mosaic structures that transition stepwise from one to another is of crucial importance. The feasibility of implementing such an approach is confirmed by the results presented in Supporting Information S3. It should also be noted that the transition from one mosaic structure to another is of interest for applications such as the advancement of smart textiles.
It is emphasized that this capability is enabled, in particular, by the properties of Galois fields, which allow mosaics to be realized using maximally simple algebraic expressions. The transition from one such expression to another can be defined algorithmically. Additional possibilities in this regard are provided by the transition to algebraic extensions of Galois fields, where the relevant polynomials decompose into linear factors. For equations of the form (8), all polynomial roots can be found using discrete logarithm computation. It should also be noted that equations of the form (8), corresponding to binomial polynomials, represent a specific case. However, the proposed approach can be readily generalized to equations of the following form:
y N b x = 0
The use of relations of the type (59) for the aforementioned purposes generally requires the computation of discrete logarithms. This methodology is also presented in the current work. Regarding the operation of discrete logarithm computation, there is a specific nuance. For fields associated with primes of the form p = 2 k + 1 , relation (27) becomes degenerate. These primes can be interpreted as quasi-Mersenne numbers [59]. However, in such cases, the discrete logarithm operation can be performed using the results from the cited work. Furthermore, the limitation on mosaic dimensions, determined by the requirement that p be prime, can be at least partially relaxed by employing the results of [60]. In this case, finite algebraic rings are used instead of Galois fields, and it can be anticipated that mosaic construction in the future may be implemented through logical operations, as described in the cited source. The solution to this problem, however, remains a matter for future research.
In a broader perspective, the proposed method for generating mosaic structures can be used to develop techniques for diagnosing structures similar to mosaics based on the use of radio waves. As shown in [41,42,43], cited in the Introduction, the analysis of mosaic-like structures is of interest for monitoring agricultural lands.
In [61], it was demonstrated that the description of any radiation transformer obeying the Helmholtz equation or its analog can be reduced to a discrete form. This conclusion is based on the fact that the classical Huygens–Fresnel principle can also be expressed in discrete form, which is particularly relevant for addressing problems in radio holography, an area currently undergoing active development [62,63,64].
For the development of such methods, especially those oriented toward practical applications (as dictated, for example, by mosaic-like structures occurring naturally [41,42,43]), it is expedient to employ certain test structures, which can be generated using the proposed method.

5. Conclusions

The generation of large arrays of diverse mosaics can be achieved through the use of an algorithm based on Galois fields and simple algebraic expressions (including classical expressions, such as the Bernoulli lemniscate or the Diocles’ cissoid). The advantage of this approach lies in the simplicity of implementing the computational algorithm, as well as the possibility of ensuring a gradual transition from one mosaic to another. The proposed method allows for generalization through the use of algebraic extensions of the base field, as well as the computation of discrete logarithms.
The proposed method for constructing complex mosaic structures holds promise for a variety of practical applications, including psychological testing. The most immediate application lies in expanding the design possibilities of wallpapers, fabrics, and related products—particularly with the aim of enhancing psychological well-being for consumers.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/sym17091415/s1, Supporting Information S1: Python code for mosaic generation using the function F(x,y); Supporting Information S2: Python code for discrete logarithm computation in GF(p); Supporting Information S3: Program code for conducting experiments on artificial variation of the function b(x) and experimental results obtained using this code.

Author Contributions

Conceptualization, I.S.; data curation, D.S. and Y.V.; formal analysis, A.S.B.; funding acquisition, D.S., Y.V. and I.S.; methodology, I.S.; project administration, Y.V.; resources, D.S.; software, A.S.B.; supervision, Y.V.; validation, A.S.B.; visualization, A.S.B.; writing—original draft, I.S.; writing—review and editing, D.S. and Y.V. All authors have read and agreed to the published version of the manuscript.

Funding

This research is funded by the Committee of Science of the Ministry of Science and Higher Education of the Republic of Kazakhstan (Grant No. AP26104635).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Author Yelizaveta Vitulyova was employed by the JSC “Institute of Digital Engineering and Technology”. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Pintus, R.; Pal, K.; Yang, Y.; Weyrich, T.; Gobbetti, E.; Rushmeier, H. A survey of geometric analysis in cultural heritage. Comput. Graph. Forum 2016, 35, 4–31. [Google Scholar] [CrossRef]
  2. Sobh, H.; Samy, H.A. Islamic geometric patterns as timeless architecture. J. Al-Azhar Univ. Eng. Sect. 2018, 13, 1074–1088. [Google Scholar] [CrossRef]
  3. Jebur, A.K. The techniques of cultural heritage: Literature review. Saudi J. Civ. Eng. 2022, 6, 108–114. [Google Scholar] [CrossRef]
  4. Jabi, W.; Potamianos, I. Geometry, light, and cosmology in the church of Hagia Sophia. Int. J. Archit. Comput. 2007, 5, 303–319. [Google Scholar] [CrossRef]
  5. Thalal, A.; Aboufadil, Y.; Elidrissi Raghni, M.A.; Jali, A.; Oueriagli, A.; Ait Rai, K. Symmetry in art and architecture of the Western Islamic world. Crystallogr. Rev. 2018, 24, 102–130. [Google Scholar] [CrossRef]
  6. Xu, P. The Mandala as a cosmic model used to systematically structure the Tibetan Buddhist Landscape. J. Archit. Plan. Res. 2010, 27, 181–203. [Google Scholar]
  7. Xiao, Y.-Q.; Kan, C.-W. Review on Development and Application of 3D-Printing Technology in Textile and Fashion Design. Coatings 2022, 12, 267. [Google Scholar] [CrossRef]
  8. Liu, J.; Jiang, S. Textile-Based 3D Printing and Traditional Chinese Geometric Patterns for Fashion Textile Development. J. Text. Inst. 2024, 116, 2087–2099. [Google Scholar] [CrossRef]
  9. Arikan, C.O.; Doğan, S.; Muck, D. Geometric structures in textile design made with 3D printing. Tekstilec 2022, 65, 307–321. [Google Scholar] [CrossRef]
  10. Nilsson, L.; Vallgårda, A.; Worbin, L. Designing with Smart Textiles: A New Research Program. In Proceedings of the Nordes Making Design Matter, Helsinki, Finland, 29–31 May 2011. [Google Scholar]
  11. Matté, L.L.; Broega, A.C. The Evaluation of (Social-) Psychological Comfort in Clothing: A Possible Approach. IOP Conf. Ser. Mater. Sci. Eng. 2017, 254, 182008. [Google Scholar] [CrossRef]
  12. Stylios, G.K.; Chen, M. The concept of psychotextiles; interactions between changing patterns and the human visual brain, by a novel composite SMART fabric. Materials 2020, 13, 725. [Google Scholar] [CrossRef]
  13. Zeng, F.; Wang, G.; Qiao, J.; Wang, Q.; Wu, M.; Zeng, X.; Hong, X. Modeling the Relationship between Fabric Textures and the Evoked Emotions through Different Sensory Perceptions. J. Eng. Fibers Fabr. 2024, 19, 15589250241248761. [Google Scholar] [CrossRef]
  14. de Melo, M.J. Mosaic as an Experimental System: Materials, Practices and Knowledges in Art and Science; University of Amsterdam: Amsterdam, The Netherlands, 2019. [Google Scholar]
  15. Zhang, J.; Zhang, K.; Peng, R.; Yu, J. Parametric modeling and generation of mandala thangka patterns. J. Comput. Lang. 2020, 58, 100968. [Google Scholar] [CrossRef]
  16. Suleimenov, I.E.; Gabrielyan, O.A.; Bakirov, A.S. Neural network approach to the interpretation of ancient Chinese geomancy feng shui practices. Eur. J. Sci. Theol. 2023, 19, 39–51. [Google Scholar]
  17. Teixeira, T.G.B.; de Medeiros, J.F.; Kolling, C.; Duarte Ribeiro, J.L.; Morea, D. Redesign in the Textile Industry: Proposal of a Methodology for the Insertion of Circular Thinking in Product Development Processes. J. Clean. Prod. 2023, 397, 136588. [Google Scholar] [CrossRef]
  18. An, M.H.; Jang, A.R. Development of textile pattern design by MC Escher’s tessellation technique using chaekgeori icons. Fash Text 2023, 10, 15. [Google Scholar] [CrossRef]
  19. Liu, S. A Method for Image Mosaic of Textile Printing Fabric Based on SIFT Feature Matching. In Proceedings of the 6th International Conference on Management, Education, Information and Control (MEICI 2016), Shenyang, China, 23–25 September 2016; Atlantis Press: Dordrecht, The Netherlands, 2016; pp. 953–957. [Google Scholar]
  20. Kunkhet, A.; Chudasri, D. Design Approaches for Tile Pattern Designs Inspired by Traditional Textiles. Processes 2022, 10, 1460. [Google Scholar] [CrossRef]
  21. Massarwe, K.; Verner, I.; Bshouty, D.; Verner, I. An ethnomathematics exercise in analyzing and constructing ornaments in a geometry class. J. Math. Cult. 2010, 5, 1–20. [Google Scholar]
  22. Wang, W.; Zhang, G.; Yang, L.; Wang, W. Research on garment pattern design based on fractal graphics. J. Image Video Proc. 2019, 2029, 29. [Google Scholar] [CrossRef]
  23. Furrer, W. Psychiatric test methods, especially the Lüscher color test. Ther. Present 1967, 106, 1290–1300. [Google Scholar]
  24. Borstelmann, L.J.; Klopfer, W.G. The Szondi Test: A review and critical evaluation. Psychol. Bull. 1953, 50, 12. [Google Scholar] [CrossRef]
  25. Mayall, K.; Dellinger, S. Your Personal Communication Style (Parenting Shape eBook) (Kindle Edition); Jade Ink: Oakland, CA, USA, 1953. [Google Scholar]
  26. Paluchowski, W.J.; Stemplewska-Żakowicz, K. The reliability of projective techniques as tools of psychological assessment. Part 1: Why it is unjustified to describe some of them as projective. Probl. Forensic Sci. 2013, 93, 421–430. [Google Scholar]
  27. Suleimenov, I.; Kostsova, M.; Grishina, A.; Matrassulova, D.; Vitulyova, Y. Empirical validation of the use of projective techniques in psychological testing using Galois fields. Front. Appl. Math. Stat. 2024, 10, 1455500. [Google Scholar] [CrossRef]
  28. Pianowski, G.; Villemor-Amaral, A.E.D.; Meyer, G.J. Comparing the validity of the Rorschach Performance Assessment System and Exner’s Comprehensive System to differentiate patients and nonpatients. Assessment 2023, 30, 2417–2432. [Google Scholar] [CrossRef]
  29. Khadivi, A. Review of a Special Issue of Rorschachiana: The Rorschach Test Today: An Update on the Research. J. Personal. Assess. 2023, 105, 578–579. [Google Scholar] [CrossRef]
  30. Bhaskar, R.; Dubey, P.K.; Kumar, V.; Rudra, A. Efficient Galois field arithmetic on SIMD architectures. In Proceedings of the 15th Annual ACM Symposium on Parallel Algorithms and Architectures (SPAA’03), San Diego, CA, USA, 7–9 June 2003; pp. 256–257. [Google Scholar] [CrossRef]
  31. Vitulyova, Y.S.; Bakirov, A.S.; Suleimenov, I.E. Galois fields for digital image and signal processing: Evidence for the importance of field specificity. In Proceedings of the 5th International Conference on Pattern Recognition and Artificial Intelligence (PRAI), Chengdu, China, 19–21 August 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 637–642. [Google Scholar]
  32. Kuang, R.; Perepechaenko, M.; Barbeau, M. A new quantum-safe multivariate polynomial public key digital signature algorithm. Sci. Rep. 2022, 12, 13168. [Google Scholar] [CrossRef]
  33. Thi, H.P.; Lee, H. Basic-Set Trellis Min–Max Decoder Architecture for Nonbinary LDPC Codes with High-Order Galois Fields. In IEEE Transactions on Very Large Scale Integration (VLSI) Systems; IEEE: Piscataway, NJ, USA, 2018; Volume 26, pp. 496–507. [Google Scholar] [CrossRef]
  34. Alinejad, M.; Hassan Zadeh, S.; Biranvand, N. Digital Signature with Elliptic Curves over the Finite Fields. J. Discret. Math. Sci. Cryptogr. 2022, 25, 1289–1301. [Google Scholar] [CrossRef]
  35. Larasati, H.T.; Kim, H. Quantum cryptanalysis landscape of shor’s algorithm for elliptic curve discrete logarithm problem. In International Conference on Information Security Applications; Springer: Cham, Switzerland, 2021; pp. 91–104. [Google Scholar]
  36. O’Keeffe, M.; Treacy, M.M.J. The Symmetry and Topology of Finite and Periodic Graphs and Their Embeddings in Three-Dimensional Euclidean Space. Symmetry 2022, 14, 822. [Google Scholar] [CrossRef]
  37. Evans, M.E.; Robins, V.; Hyde, S.T. Ideal geometry of periodic entanglements. Proc. R. Soc. A Math. Phys. Eng. Sci. 2015, 471, 20150254. [Google Scholar] [CrossRef]
  38. Suleimenov, I.E.; Vitulyova, Y.S.; Kabdushev, S.B.; Bakirov, A.S. Improving the efficiency of using multivalued logic tools. Sci. Rep. 2023, 13, 1108. [Google Scholar] [CrossRef]
  39. Odlyzko, A. Discrete Logarithms: The Past and the Future. Des. Codes Cryptogr. 2000, 19, 129–145. [Google Scholar] [CrossRef]
  40. Sarkar, A.; Guha Roy, D.; Datta, P. An Overview of the Discrete Logarithm Problem in Cryptography. In Proceedings of Third International Conference on Advanced Computing and Applications; ICACA 2024; Lecture Notes in Networks and Systems; Giri, D., Das, S., Corchado Rodríguez, J.M., De, D., Eds.; Springer: Singapore, 2024; Volume 1045. [Google Scholar] [CrossRef]
  41. Mukhamediev, R.I.; Merembayev, T.; Kuchin, Y.; Malakhov, D.; Zaitseva, E.; Levashenko, V.; Popova, Y.; Symagulov, A.; Sagatdinova, G.; Amirgaliyev, Y. Soil Salinity Estimation for South Kazakhstan Based on SAR Sentinel-1 and Landsat-8,9 OLI Data with Machine Learning Models. Remote Sens. 2023, 15, 4269. [Google Scholar] [CrossRef]
  42. Atzberger, C. Advances in Remote Sensing of Agriculture: Context Description, Existing Operational Monitoring Systems and Major Information Needs. Remote Sens. 2013, 5, 949–981. [Google Scholar] [CrossRef]
  43. Mukhamediev, R.I.; Terekhov, A.; Amirgaliyev, Y.; Popova, Y.; Malakhov, D.; Kuchin, Y.; Sagatdinova, G.; Symagulov, A.; Muhamedijeva, E.; Gricenko, P. Using Pseudo-Color Maps and Machine Learning Methods to Estimate Long-Term Salinity of Soils. Agronomy 2024, 14, 2103. [Google Scholar] [CrossRef]
  44. Suleimenov, I.E.; Bakirov, A.S.; Matrassulova, D.K. A technique for analyzing neural networks in terms of ternary logic. J. Theor. Appl. Inf. Technol. 2021, 99, 2537–2553. [Google Scholar]
  45. van der Waerden, B.L. Algebra; Springer-Verlag New York, Inc.: New York, NY, USA, 1991; Volume 1, 265p. [Google Scholar]
  46. Tudunkaya, S.M.; Kiri, A.I. Galois groups of polynomials and the construction of finite fields. Pure Appl. Math. J. 2012, 1, 10–16. [Google Scholar] [CrossRef]
  47. Kim, K.-S.; König, J. On Galois extensions with prescribed decomposition groups. J. Number Theory 2021, 220, 266–294. [Google Scholar] [CrossRef]
  48. Vitulyova, E.S.; Matrassulova, D.K.; Suleimenov, I.E. Construction of generalized Rademacher functions in terms of ternary logic: Solving the problem of visibility of using Galois fields for digital signal processing. Int. J. Electron. Telecommun. 2022, 68, 237–244. [Google Scholar] [CrossRef]
  49. Adj, G.; Menezes, A.; Oliveira, T.; Rodriguez-Henriquez, F. Computing discrete logarithms using Joux’s algorithm. ACM Commun. Comput. Algebra 2015, 49, 60. [Google Scholar] [CrossRef]
  50. Galbraith, S.D.; Wang, P.; Zhang, F. Computing Elliptic Curve Discrete Logarithms with Improved Baby-Step Giant-Step Algorithm; Cryptology ePrint Archive; American Institute of Mathematical Sciences: Springfield, MI, USA, 2015. [Google Scholar]
  51. Rubinstein-Salzedo, S. The Diffie–Hellman key exchange and the discrete logarithm problem. In Cryptography; Springer International Publishing: Cham, Switzerland, 2018; pp. 99–112. [Google Scholar]
  52. Pohlig, S.C.; Hellman, M.E. An improved algorithm for computing logarithms over GF (p) and its cryptographic significance. In Democratizing Cryptography: The Work of Whitfield Diffie and Martin Hellman; Association for Computing Machinery: New York, NY, USA, 2022; pp. 415–430. [Google Scholar]
  53. Lin, K.; Wang, W.; Wang, L.; Zhao, C.A. An alternative approach for computing discrete logarithms in compressed SIDH. arXiv 2021, arXiv:2111.10226. [Google Scholar] [CrossRef]
  54. Shor, P.W. Algorithms for Quantum Computation: Discrete Logarithms and Factoring. In Proceedings of the 35th Annual Symposium on Foundations of Computer Science (FOCS’94), Santa Fe, NM, USA, 20–22 November 1994; pp. 124–134. [Google Scholar] [CrossRef]
  55. Ekerå, M. Revisiting Shor’s quantum algorithm for computing general discrete logarithms. arXiv 2019, arXiv:1905.09084. [Google Scholar]
  56. Kadyrzhan, K.; Kaldybekov, D.; Baipakbaeva, S.; Vitulyova, Y.; Matrassulova, D.; Suleimenov, I. Electronic Fourier–Galois Spectrum Analyzer for the Field GF(31). Appl. Sci. 2024, 14, 7770. [Google Scholar] [CrossRef]
  57. Suleimenov, I.; Kadyrzhan, A.; Matrassulova, D.; Vitulyova, Y. Peculiarities of Applying Partial Convolutions to the Computation of Reduced Numerical Convolutions. Appl. Sci. 2024, 14, 2076–3417. [Google Scholar] [CrossRef]
  58. Areh, I.; Verkampt, F.; Allan, A. Critical review of the use of the Rorschach in European courts. Psychiatry Psychol. Law. 2022, 29, 183–205. [Google Scholar] [CrossRef]
  59. Bakirov, A.; Matrassulova, D.; Vitulyova, Y.; Shaltykova, D.; Suleimenov, I. The specifics of the Galois field GF (257) and its use for digital signal processing. Sci. Rep. 2024, 14, 15376. [Google Scholar] [CrossRef]
  60. Suleimenov, I.E.; Vitulyova, Y.S.; Kabdushev, S.B.; Bakirov, A.S. Improving the Efficiency of Using Multivalued Logic Tools: Application of Algebraic Rings. Sci. Rep. 2023, 13, 22021. [Google Scholar] [CrossRef]
  61. Vitulyova, Y.; Kadyrzhan, K.; Kadyrzhan, A.; Shaltykova, D.; Suleimenov, I. Reducing the description of arbitrary wave field converters to tensor form. Int. J. Inf. Technol. 2024, 17, 1–10. [Google Scholar] [CrossRef]
  62. Ivashov, S.I.; Capineri, L.; Bechtel, T.D.; Razevig, V.V.; Inagaki, M.; Gueorguiev, N.L.; Kizilay, A. Design and Applications of Multi-Frequency Holographic Subsurface Radar: Review and Case Histories. Remote Sens. 2021, 13, 3487. [Google Scholar] [CrossRef]
  63. SIvashov, I.; Razevig, V.V.; Vasiliev, I.A.; Zhuravlev, A.V.; Bechtel, T.D.; Capineri, L. Holographic Subsurface Radar of RASCAN Type: Development and Applications. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2011, 4, 763–778. [Google Scholar] [CrossRef]
  64. Lombardi, F.; Lualdi, M. Step-Frequency Ground Penetrating Radar for Agricultural Soil Morphology Characterisation. Remote Sens. 2019, 11, 1075. [Google Scholar] [CrossRef]
Figure 1. Mosaics generated using Formula (3); a = 5 (a), a = 45 (b); the field used is G F ( 61 ) .
Figure 1. Mosaics generated using Formula (3); a = 5 (a), a = 45 (b); the field used is G F ( 61 ) .
Symmetry 17 01415 g001
Figure 2. Mosaics generated using Formula (4); a = 5 (a), a = 45 (b); the field used is G F ( 61 ) .
Figure 2. Mosaics generated using Formula (4); a = 5 (a), a = 45 (b); the field used is G F ( 61 ) .
Symmetry 17 01415 g002
Figure 3. Mosaics generated using Formula (5); a = 5 (a), a = 19 (b); the field used is G F ( 61 ) .
Figure 3. Mosaics generated using Formula (5); a = 5 (a), a = 19 (b); the field used is G F ( 61 ) .
Symmetry 17 01415 g003
Figure 4. Mosaics generated using Formula (6); a = 5 (a), a = 19 (b), a = 30 (c); the field used is G F ( 61 ) .
Figure 4. Mosaics generated using Formula (6); a = 5 (a), a = 19 (b), a = 30 (c); the field used is G F ( 61 ) .
Symmetry 17 01415 g004
Figure 5. Mosaics generated using Formula (6); a = 3 (a), a = 5 , (b), a = 15 , (c), the field used is G F ( 127 ) .
Figure 5. Mosaics generated using Formula (6); a = 3 (a), a = 5 , (b), a = 15 , (c), the field used is G F ( 127 ) .
Symmetry 17 01415 g005
Figure 6. Mosaics generated using Formula (25); a = 3 (a), a = 5 , (b), a = 15 , (c), the field used is G F ( 61 ) .
Figure 6. Mosaics generated using Formula (25); a = 3 (a), a = 5 , (b), a = 15 , (c), the field used is G F ( 61 ) .
Symmetry 17 01415 g006
Figure 7. Block diagram of operations enabling the computation of the discrete logarithm using the partial values s i .
Figure 7. Block diagram of operations enabling the computation of the discrete logarithm using the partial values s i .
Symmetry 17 01415 g007
Figure 8. Examples of functions b x , corresponding to mosaics constructed using the algebraic expression (7) and Formula (55); a = 5 (a), a = 30 (b).
Figure 8. Examples of functions b x , corresponding to mosaics constructed using the algebraic expression (7) and Formula (55); a = 5 (a), a = 30 (b).
Symmetry 17 01415 g008
Figure 9. Imaginary parts of the square root of the functions shown in Figure 8a (a) and Figure 8b (b).
Figure 9. Imaginary parts of the square root of the functions shown in Figure 8a (a) and Figure 8b (b).
Symmetry 17 01415 g009
Figure 10. Mosaics obtained using Formula (56); a = 5 (a), a = 30 , (b), a = 50 , (c), with the Galois field G F ( 61 ) .
Figure 10. Mosaics obtained using Formula (56); a = 5 (a), a = 30 , (b), a = 50 , (c), with the Galois field G F ( 61 ) .
Symmetry 17 01415 g010
Figure 11. Mosaics obtained using Formula (56); a = 5 , Galois field G F ( 127 ) , (a) original mosaic, (b) result after smoothing.
Figure 11. Mosaics obtained using Formula (56); a = 5 , Galois field G F ( 127 ) , (a) original mosaic, (b) result after smoothing.
Symmetry 17 01415 g011
Figure 12. Mosaics obtained using Formula (56); a = 50 , Galois field G F ( 127 ) , (a) original mosaic, (b) result after smoothing over 9 pixels, (c) result after smoothing over 25 pixels.
Figure 12. Mosaics obtained using Formula (56); a = 50 , Galois field G F ( 127 ) , (a) original mosaic, (b) result after smoothing over 9 pixels, (c) result after smoothing over 25 pixels.
Symmetry 17 01415 g012
Figure 13. Mosaics obtained using Formula (56); a = 5 , Galois field G F ( 257 ) , (a) original mosaic, (b) result after smoothing over 9 pixels, (c) result after smoothing over 25 pixels.
Figure 13. Mosaics obtained using Formula (56); a = 5 , Galois field G F ( 257 ) , (a) original mosaic, (b) result after smoothing over 9 pixels, (c) result after smoothing over 25 pixels.
Symmetry 17 01415 g013
Figure 14. Mosaics obtained using Formula (56); a = 15 , Galois field G F ( 257 ) , (a) original mosaic, (b) result after smoothing over 9 pixels, (c) result after smoothing over 25 pixels.
Figure 14. Mosaics obtained using Formula (56); a = 15 , Galois field G F ( 257 ) , (a) original mosaic, (b) result after smoothing over 9 pixels, (c) result after smoothing over 25 pixels.
Symmetry 17 01415 g014
Figure 15. Mosaics obtained using Formula (56); a = 50 , Galois field G F ( 257 ) , (a) original mosaic, (b) result after smoothing over 9 pixels, (c) result after smoothing over 25 pixels.
Figure 15. Mosaics obtained using Formula (56); a = 50 , Galois field G F ( 257 ) , (a) original mosaic, (b) result after smoothing over 9 pixels, (c) result after smoothing over 25 pixels.
Symmetry 17 01415 g015
Figure 16. Mosaics obtained using Formula (56); a = 5 (a), a = 25 , (b), a = 45 , (c), with the Galois field G F ( 61 ) .
Figure 16. Mosaics obtained using Formula (56); a = 5 (a), a = 25 , (b), a = 45 , (c), with the Galois field G F ( 61 ) .
Symmetry 17 01415 g016
Table 1. The nature of the relationship between a field element and its discrete logarithm.
Table 1. The nature of the relationship between a field element and its discrete logarithm.
g 1 r ( m o d 4 ) g 2 r ( m o d 3 ) g 3 r ( m o d 5 ) z 0 r r
−1113-321
−1−14942
111−2783
11320164
−11−141−295
−11−336
1113967
1−14−27128
−11120249
−1131−1310
11−14−3−2611
119912
−1113−271813
−1−1420−2514
11111115
113−32216
−11−149−1717
−11−272718
111320−719
1−141−1420
−111−3−2821
−1139522
11−14−271023
11202024
−11131−2125
−1−14−31926
1119−2327
113−271528
−11−14203029
−111−130
1113−3−231
1−149−432
−111−27−833
−11320−1634
11−1412935
11−3−336
−11139−637
−1−14−27−1238
11120−2439
11311340
−11−14−32641
−119−942
1113−27−1843
1−14202544
−1111−1145
−113−3−2246
11−1491747
11−27−2748
−111320749
−1−1411450
111−32851
1139−552
−11−14−27−1053
−1120−2054
111312155
1−14−3−1956
−11192357
−113−27−1558
11−1420−3059
111160
Table 2. Relationship of partial discrete logarithms with imaginary and real values of the square root.
Table 2. Relationship of partial discrete logarithms with imaginary and real values of the square root.
s 1 s 2 s 3 u D l u R e w I m w
11121 0
222421
30383 1
0141642
120−295 2
201363
31267 3
0231284
104249 4
210−13105
321−2611 5
0029126
1131813 6
224−25147
3001115 7
01122168
122−1717 8
20327189
314−719 9
020−142010
101−2821 10
21252211
3231023 11
004202412
110−2125 12
221192613
302−2327 13
013152814
1243029 14
200−13015
311−231 15
022−43216
103−833 16
214−163417
3202935 17
001−33618
112−637 18
223−123819
304−2439 19
010134020
1212641 20
202−94221
313−1843 21
024254422
100−1145 22
211−224623
3221747 23
003−274824
114749 24
220145025
3012851 25
012−55226
123−1053 26
204−205427
3102155 27
021−195628
1022357 28
213−155829
324−3059 29
00016030
Table 3. Comparison of the main characteristics of the proposed approach with previously known methods.
Table 3. Comparison of the main characteristics of the proposed approach with previously known methods.
CriterionProposed ApproachPreviously Known Approaches
Mosaic periodicityPeriodicity arises automatically due to the properties of Galois fields, even for simple algebraic expressionsPeriodicity must be imposed artificially, typically requiring a special algorithm [15,18,20]
Need for an initial patternNot requiredAn initial pattern is necessary [15,18,20]
Mosaic modification and controlStepwise transitions between different types of mosaics are possibleMechanisms for transitioning between patterns of different types are either not provided [15,20] or require direct operator intervention [18,19,22]
Implementation complexityThe code is extremely simple (example—SI-1); computations use only integersAlgorithm implementation involves computational complexities [19,21,22] or requires searching for the initial pattern [15,18,20]
Scalability/detail levelDetails can be enhanced straightforwardly by increasing the field characteristicDetail enhancement is possible, but operations required for it are comparable in complexity to generating a new mosaic [15,18,19,20,21]
Post-processing/complexity managementSimple smoothing (analogous to 3 × 3 or 5 × 5 moving window) helps reveal periodicity and reduce excessive complexityThe use of smoothing filters is not provided [15,18,20,21]
LimitationsRequires a simple modulus pp; special cases for pp of the form 2 m −1 (quasi-Mersenne primes), and the possibility to relax the requirement via finite ringsLimitations depend on the method (tiling rules, geometric/numerical constraints, etc.)
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.

Share and Cite

MDPI and ACS Style

Shaltykova, D.; Vitulyova, Y.; Bakirov, A.S.; Suleimenov, I. Formation of Periodic Mosaic Structures Using Operations in Galois Fields. Symmetry 2025, 17, 1415. https://doi.org/10.3390/sym17091415

AMA Style

Shaltykova D, Vitulyova Y, Bakirov AS, Suleimenov I. Formation of Periodic Mosaic Structures Using Operations in Galois Fields. Symmetry. 2025; 17(9):1415. https://doi.org/10.3390/sym17091415

Chicago/Turabian Style

Shaltykova, Dina, Yelizaveta Vitulyova, Akhat S. Bakirov, and Ibragim Suleimenov. 2025. "Formation of Periodic Mosaic Structures Using Operations in Galois Fields" Symmetry 17, no. 9: 1415. https://doi.org/10.3390/sym17091415

APA Style

Shaltykova, D., Vitulyova, Y., Bakirov, A. S., & Suleimenov, I. (2025). Formation of Periodic Mosaic Structures Using Operations in Galois Fields. Symmetry, 17(9), 1415. https://doi.org/10.3390/sym17091415

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop