1. Introduction
All rings considered in this paper are finite and have an identity. Chain rings are rings whose left (right) ideals form a unique chain under inclusion. These rings have been used in geometry as coordinatizing rings of Klingenberg planes and Pappian Hjelmslev planes [
1,
2]. In recent years, chain rings have found significant applications in new places: in coding theory for creating more compact codes with higher capabilities of error correction [
3,
4]; in combinatorics for constructing bent functions, partial difference sets and relative difference sets [
5,
6,
7]. In addition, such rings arise in the p-adic fields as factor-rings of rings of integers in suitable finite extensions of the field of p-adic numbers, 
 [
8]. The purpose of the present paper is to investigate the automorphism groups of chain rings. The results of this work give immediate corollaries for the applications mentioned above.
For a general background of finite chain rings, we refer to [
8,
9,
10,
11,
12,
13]. Let 
R denote a chain ring of characteristic 
 with non-zero (Jacobson) radical 
 of nilpotencey index 
 The case when 
R is a field. The residue field 
 is a finite field of order 
 R contains a subring (coefficient subring) 
 of the form 
 where 
a is an element of 
 of the multiplicative order 
 Moreover, there exist 
 and 
 such that 
 and 
 for each 
. If 
k is the greatest integer 
 such that 
, 
R can be written as:
	  (as 
module). This implies 
 where 
 and 
 is a unit, i.e., 
 is a root of an Eisenstein polynomial over 
	  If there exists 
 such that 
 where 
. Then, 
R is called a very pure chain ring. It is also known that 
 is uniquely determined by 
R and 
 and thus it is called the associated automorphism of 
R with respect to 
 If 
 then 
, and if 
 is the order of 
  The integers 
 are called the invariants of 
 Furthermore, there is 
  such that 
When 
 the automorphism group 
 is determined in [
14]. If 
 relatively little is known about 
 Indeed, a special class of automorphisms has been considered in [
15]. Our main goal in this article is to investigate the structure of 
 when 
 We first show that 
 is given in terms of the automorphism group of a certain commutative chain subring; thus, it suffices to find 
 R is commutative (
). Next, we use this idea to determine 
 when 
R is a chain ring with 
 In addition, 
 is studied under a more general condition; 
R is very pure. If 
 or 
R is complete, we manage to give 
 in terms of a specific group of matrices.
  2. Preliminaries and Notations
In this section, we mention some facts and introduce notations that will be used in the subsequent discussions.
In the sequel, 
R is a finite chain ring with invariants 
 Let 
 be the centralizer of 
 in 
 then
      
      where 
 and 
. From (
3), the radical of 
  However, 
 is a commutative chain ring with invariants 
 Moreover, 
 is the only maximal commutative subring of 
R containing 
 and it is unique up to the inner automorphisms of 
R [
9].
Let 
 be the fixed subring of 
 by 
 which is of the form 
 b is an element in 
 of the multiplicative order 
 where 
 Denote 
 the center of 
R, then,
      
      where 
 if 
 and 
 otherwise. Let
      
	  It is easy to check that 
 if 
 and hence 
 in such a case is a commutative chain ring with invariants 
p, 
n, 
, 
, 
. When 
 then 
 which is not a chain subring of 
 However, 
 is a commutative chain ring with invariants 
p, 
n, 
, 
, 
 [
9]. Note that 
 i.e., 
 can be written as:
      where 
   for 
, and 
.
If 
  and 
 Then, we define the following correspondences:
The following statements are related to the commutative case [
16,
17]. Let 
 denote the unit group of 
 then 
 where 
a is an element of order 
 and 
 is the 
Sylow subgroup of 
 Let 
  Consider
      
      joined with a function 
j defined by:
      where 
 We refer to the series (
10) when we mention the j-diagram. We call 
R an incomplete (complete) chain ring if 
H has an incomplete (complete) j-diagram in the sense that is given by Ayoub. For more details about j-diagrams, see [
16,
17].
Definition 1. Let R be a chain ring, then we call R complete (incomplete) if its  is complete (incomplete).
 Let 
 denote the matrix with the identity of 
F in the (i,q) position and zeros elsewhere. The group 
 of all 1-triangular matrices:
      where 
 is the 
Sylow subgroup of 
 which is the general linear group over 
F [
18]. Let 
 be the set of all matrices of the form 
:
Note that 
 is a subgroup of 
 of order 
All symbols shall retain their meanings throughout the article as stated above, in addition, for a given chain ring  we denote  all pairs () which fulfill the aforementioned conditions.
  3. The Automorphism Group 
Throughout the section, 
R is a chain ring with invariants 
 If 
 then 
 and 
 is cyclic of order 
r generated by 
 the Frobenius map. The case when 
 (
 i.e., 
, 
 is known [
14]. Thus, we assume that 
 and 
 in our discussions.
Proposition 1. Let R be a chain ring with  Then,where   Proof.  First, if 
 i.e., 
 and 
 Then, by (
6), 
 This means, 
 i.e., 
 and this implies 
 where 
. On the other hand, if 
 we consider two cases. The case when 
 it is easy to prove the result since 
 Now, assume that 
 then 
 because 
 Let 
 for some 
 positive integer, then,
        
        where 
. Moreover, since 
 then Equation (
6) yields,
        
        where 
  and 
.    □
 Remark 1. By the proof of the previous proposition, we can write:  Remark 2. Note that if  and  then by the proof of Proposition 1,where  () if  and   Definition 2. Let  be a commutative chain ring, which is cyclic Galois over a commutative chain ring  Let  be the group of all automorphisms of  Define  as:where  is called the norm function.  Lemma 1. Let R be a chain ring. Then, the homomorphism ψ defined from  into  by:  is surjective, where  and 
 Proof.  Note that every finite commutative chain ring is a quotient ring of the ring of integers of an appropriate extension of 
 [
8]. In addition, the extension 
 over 
 corresponds to an unramified extension over 
 then it is a Galois extension with 
. Thus, by (Proposition 3, page 82 [
19]), 
    □
 Proposition 2. With the same assumptions of Lemma 1,Moreover,   Proof.  The first claim is trivial. Consider the map  defined by  Let  then by the definition of   This implies that  is a group homomorphism. Moreover, by the first claim,  is surjective with  as its kernel.    □
 Remark 3. If  is a subring, we consider  and  in Lemma 1 and Proposition 2.
 Proposition 3. Let R be a chain ring with invariants  Then, R is very pure if and only if its  is very pure.
 Proof.  Let  be very pure. If  then  and this ends the proof. Now, if , let () be an element of  such that  where  Hence, . Moreover,  where  and  since  By Lemma 1, there exist  and  such that  and  Now, let  then it is easy to verify that  is an element of  and  Therefore, R is very pure. The converse is trivial.    □
 Corollary 1 ([
9]). 
A chain ring R with  is very pure. Corollary 2. If R is a chain ring with  and  then  is a subring.
 Remark 4. If σ can be extended to an automorphism ψ of R fixing  then  and thus  i.e.,  is a subring. Conversely, if  is a subring, then it is clear that  is the required automorphism.
 Proposition 4. Assume that R is a very pure chain ring with invariants . Then, σ can be extended to an automorphism of R if and only if  where 
 Proof.  Note that if 
 then 
 is a subring. Thus, the proof is obvious by Remark 4. Assume that 
 and 
 is an extension of 
 to 
 Note that 
 for some 
 Let 
 where 
 is the conjugation by 
 Then, 
 and 
 where 
 and 
 It follows that,
        
		This implies 
 consequently, 
 where 
 For the other direction, consider the correspondence 
 defined as:
        
        where 
 is an element of 
 with 
. Clearly, 
 is an automorphism which is an extension of 
 to 
    □
 Remark 5. In the light of Lemma 1 and Proposition 2,Let  be a representative system in  for a basis of  over  such that  is a basis of  over  Then,  are generators of  and  are generators of  where  [16]. In addition,Hence, we can consider   as generators of  Lemma 2. For  let  be the restriction of  on  Then,
- (i)
- (ii)
-  is a surjective homomorphism, defined from  into  Moreover, 
 Proof.  (i) It is clear that 
 and thus by Proposition 2 and Remark 5, we have
        
        where 
L is a subgroup of 
 Moreover, if we take the restriction 
 of 
 on 
, then it follows that 
 As 
 then 
 Furthermore, since 
 is surjective, 
 Thus, (i) is proved. For (ii), the result follows from (i) and Remark 5.    □
 Proposition 5. Let R be a chain ring with invariants  Then, ϕ is an automorphism of R if and only ifwhere μ is an automorphism of    and  such that  Proof.  Let 
 then 
 is the centralizer of 
 in 
 Hence, there exists 
 such that 
 Let 
 be the composition of the conjugation by 
 and 
 It follows that 
 Then, 
 and this means that 
 where 
. Note that 
 where 
 and 
 If 
 where 
 and 
 then as in the proof of Proposition 4,
        
        where 
 is the restriction of 
 on 
 Thus, 
 and 
 Moreover, 
 Conversely, if 
 is defined as in (
21), then, it is clear that 
 is an automorphism of 
R if and only if 
 However, the conditions in Equation (
22) and Equation (23) guarantee 
 Thus, 
 is an automorphism of 
    □
 Corollary 3. If R is a chain ring. Then,  if and only if there is  such that 
 Notation 1. Denote  and  Let  Theorem 1. Let R be a chain ring with invariants  Then,  Proof.  (i) If 
 is a subring, then 
 (Proposition 1). As 
 if and only if 
 Then, we can only consider 
 Moreover, since 
 (Lemma 2), 
 where 
 and 
 This follows by Proposition 2, 
 for some 
 Note that 
 i.e., 
 where 
. Thus by Proposition 5, the set of all automorphisms of the form 
  is 
 Similarly, if 
 and 
 then 
 where 
 Hence, 
 where 
 is the subgroup of 
 contains all automorphisms 
  Since 
 then by Proposition 5,
        
Furthermore, note that if 
 then 
 where 
 Moreover, 
 then 
 where 
 and 
 Thus, 
 and hence 
 and 
 is an element of 
   satisfying Equations (
22) and (23), respectively. Since 
 (Remark 5), then 
 This yields 
 and this ends the proof. (ii) Assume that 
 is not a subring. Note that, in this case, 
 By a similar argument, one can check that 
 Furthermore, 
 Hence, 
 Moreover, 
 Therefore, the result follows.    □
 Remark 6. By Theorem 1, it is enough to determine  when R is a commutative chain ring, i.e., .
 In what follows, unless otherwise mentioned, R is a very pure chain ring with  and 
Proposition 6. If R is a commutative chain ring with invariants  Then,  if and only ifwhere  satisfying:for some   Proof.  The proof is direct from that of Proposition 5 with  and     □
 Remark 7. From Proposition 6, it is obvious that if  then 
 Remark 8. If we consider a commutative chain ring  with invariants  i.e.,  Thus, we can write Equation (31) as 
 Next, we focus on automorphisms 
 which satisfy Equation (
30), where 
 is defined in (
24). Assume that 
 we denote such 
 by 
 and we write 
 instead of 
 Let
      
Lemma 3. Let R be a commutative chain ring with invariants 
(i) Let  be an automorphism of  Then,  for some 
(ii) Let i be any integer. There exists an automorphism  of R if and only if there exists a non-negative integer f such that 
 Proof . (i) If 
 then 
 for some 
 Then, 
 implies,
        
		Moreover, 
 As 
 we obtain 
 and as a result 
(ii) Assume that such 
 exists. Now, 
 for some 
 where 
 Then, 
 leads to
        
		This means, 
 i.e., 
 Conversely, let such 
f exist. Then, we have an automorphism 
 of 
 such that 
 where 
 Consider 
 then 
 This gives an automorphism 
 that extends 
 and for which 
    □
 Lemma 4. Let R be a commutative chain ring, then  is a subgroup of  of order  where  is the multiplicative order of p modulo 
 Proof.  Let 
 and 
 where 
 Then,
        
        where 
 In other words, 
 Similarly, one can easily find that,
        
        where 
 for some 
i positive integer 
 Thus, 
 is a subgroup of 
 Next, we compute the order of 
 Note that from Lemma 3, 
 Fix 
 if 
 by (
30), 
 if and only if 
 where 
A is the set of all zeros of 
 in the group generated by 
 Since there are exactly 
e different zeros of 
 hence there are 
e of automorphisms of the type 
 On the other hand, let 
z be fixed. Equation (
30) gives 
 mod 
 i.e., 
 Thus, it is enough to find the stabilizers of 
 modulo 
 when 
 acts on 
 in the usual way. It is well known that
        
Moreover, since orb 
 thus, 
 where 
 is the multiplicative order of 
p modulo 
 Therefore,
        
        which follows that 
    □
 Proposition 7. Let R be a commutative chain ring with invariants  Then,  is a solvable group. Moreover, if  then  is cyclic.
 Proof.  Let 
 where 
 Then, 
 is clearly a normal subgroup of 
. Moreover, 
 is abelian, and hence 
 is solvable. Now, if 
 then 
 Note that 
 consequently,
        
Moreover, since 
 then 
 lies in 
 where 
 It is clear that the cyclic subgroup of 
 generated by 
 is of order 
 and then by Lemma 4, 
 is cyclic generated by 
 However, in this case, 
 which means 
 and the order of 
 is 
    □
 For every  we define  the least positive integer satisfying  Also we write  
Lemma 5. Let R be a commutative chain ring, and let  be the least positive integer such that  where  and  Then,where,  Proof.  First if  then  which means that  The case when  note that if  then  and thus  Now, when   take  since  i.e.,  Next, let  It suffices to find  such that  i.e.,  This implies  As  is the least, then  if  and  otherwise. Consider two cases. If  then obviously  is the required number. For the second case  observe that if  then clearly  and if  take     □
 Remark 9. Let R be a commutative chain ring. Denote  Note that if  i.e.,  or  then by Lemma 5 applied to   and this means,  The structure of the subgroup of   can be obtained from [16] via the j-diagram:In addition, if  or R is a complete chain ring, then  The case when  R is complete [16].  Proposition 8. If R is a commutative chain ring with invariants  Let  Then,  is a normal subgroup of  In particular, if  or R is complete, 
 Proof.  It is clear that 
 is subgroup of 
 Every element 
 of 
 can be written as 
 where 
 and 
 i.e.,
        
Moreover, if 
 in 
 and 
 then,
        
        where 
 Consequently, 
 is a normal subgroup of 
 Also observe that if 
  then 
 if and only if 
 if and only if 
 if and only if 
 Hence, the order of 
 is 
 Moreover, if 
 or 
R is complete, then by Lemma 5 and Remark 9, 
 This implies that,
        
		Furthermore, if we define a map 
g from 
 into 
 by 
 where 
  and 
 It can be verified that 
g is a group isomorphism.    □
 Corollary 4. Assume that R is as in Proposition 8. Then,  or  if and only if  Moreover,  and, in this case,  Theorem 2. Let R be a commutative chain ring, which is very pure with invariants . Then,In particular, if R is complete or   Proof.  First, note that from Proposition 8,  Now, suppose that  then as   where  Thus,  i.e.,  for some  Moreover,  yields that   This implies that  and thus . The last assertion follows from Proposition 8.    □
 Corollary 5. If R is as in Theorem 2. Then,  where 
 For the following results, denote   and 
Corollary 6. Let R be a very pure chain ring with invariants  Then,In particular, if  or R is complete,  Proof.  The proof is just a direct application of Theorems 1 and 2.    □
 Corollary 7. Let R be a chain ring with invariants  such that  and  If  thenwhere  is a cyclic group of order e.  Remark 10. Note that by Remark 9, Corollarys 6 and 7, the structure of  is strongly dependent on the invariants  and on the associated j-diagram.
 Next, we introduce some results on the subgroup 
Proposition 9. Let R be a commutative chain ring with invariants  Then,  if and only if  and  or  and 
 Proof.  From Corollary 5,  and  Thus by Corollary 4,  if and only if  if and only if  or  Moreover,  if and only if  if and only if  Therefore, the proof follows.    □
 Remark 11. Consider a complete chain ring R with  i.e., R is non-commutative. Now, if  and  Let  be the subgroup of  contains all matrices of the form  where  Define the mapping g as  where  and  Then, it is not hard to show that g is an isomorphism from  into  where  of order 
 Example 1. Let R be a commutative chain ring with invariants  and with  (Example 2, [16]). Note that  i.e.,  Moreover, since  then, Also  and then,  Hence,  Now, if  then  which implies,In addition,   Remark 12. In the case when  ([14]), then obviously  for any  and  (). Since  then  and  are automorphisms of  This means,In addition,  in general. Since  is a subring, Corollary 6 concludes that,  Example 2. Consider a finite chain ring R with invariants  and associated with  Then, it is clear that  is an automorphism for every  This means,  where  If  and , then,