^{3m},$ dimension $4m,$ with three nonzero weights $w_1<w_2<w_3$ of values $$\begin{aligned}
w_1&=&2(p-1)(p^{4m-1}-p^{\frac{7m-2}{2}}),\\
w_2&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\
w_3&=&2(p-1)(p^{4m-1}+p^{\frac{7m-2}{2}}),\end{aligned}$$ with respective frequencies $f_1,f_2,f_3$ given by $$\begin{aligned}
f_1&=&\frac{p^m-1}{2},~~~f_2=p^{4m}-p^{m},~~~f_3=\frac{p^m-1}{2}.\end{aligned}$$ (Note that taking $\epsilon(p)=1,$ or $-1,$ leads to the same values of $w_1$ and $w_3.$)

[**Example 13.**]{} Let $p=3$ and $m=2.$ We obtain a ternary code of parameters $[11664,8,5832].$ The nonzero weights are 5832, 7776 and 11664, of frequencies 4, 6552 and 4, respectively.

[**4.3.  Proof of Theorem 2**]{}

The cases (a) and (c) are like in the proof of Theorem 1. Then it suffices to prove the case (b). From the process of proof (b) in Theorem 1, it is easy to know that $\Re(\theta(a))=-2p^{3m}$. Thus, we get $w_L(Ev(a))=2(p^{4m}-p^{4m-1})$ from Equation (3). This completes the proof of Theorem 2.

In view of Theorem 2 and Proposition 6, we obtain a class of $p$-ary two-weight linear codes of parameters $[2p^{4m}-2p^{3m},4m],$ with two nonzero weights $w_1<w_2$ given by $$\begin{aligned}
w_1&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\
w_2&=&2(p^{4m}-p^{4m-1}),\
^{3m},$ dimension $ 4m,$ with three nonzero weights $ w_1 < w_2 < w_3 $ of values $ $ \begin{aligned } 
 w_1&=&2(p-1)(p^{4m-1}-p^{\frac{7m-2}{2}}),\\ 
 w_2&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\ 
 w_3&=&2(p-1)(p^{4m-1}+p^{\frac{7m-2}{2}}),\end{aligned}$$ with respective frequencies $ f_1,f_2,f_3 $ given by $ $ \begin{aligned } 
 f_1&=&\frac{p^m-1}{2},~~~f_2 = p^{4m}-p^{m},~~~f_3=\frac{p^m-1}{2}.\end{aligned}$$ (notice that accept $ \epsilon(p)=1,$ or $ -1,$ leads to the same value of $ w_1 $ and $ w_3.$) 

 [ * * Example 13. * * ] { } get $ p=3 $ and $ m=2.$ We obtain a ternary code of parameters $ [ 11664,8,5832].$ The nonzero weight are 5832, 7776 and 11664, of frequency 4, 6552 and 4, respectively. 

 [ * * 4.3.    Proof of Theorem 2 * * ] { } 

 The cases (a) and (c) are like in the proof of Theorem 1. Then it suffices to raise the case (b). From the summons of validation (b) in Theorem 1, it is easy to acknowledge that $ \Re(\theta(a))=-2p^{3m}$. Thus, we get $ w_L(Ev(a))=2(p^{4m}-p^{4m-1})$ from Equation (3). This complete the proof of Theorem 2. 

 In view of Theorem 2 and Proposition 6, we obtain a course of $ p$-ary two - weight linear codes of parameter $ [ 2p^{4m}-2p^{3m},4m],$ with two nonzero weights $ w_1 < w_2 $ pass by $ $ \begin{aligned } 
 w_1&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\ 
 w_2&=&2(p^{4m}-p^{4m-1}),\
^{3m},$ dlmension $4m,$ with three nokzero weights $w_1<w_2<c_3$ of vanues $$\bsgin{aligved}
w_1&=&2(p-1)(p^{4m-1}-p^{\frac{7m-2}{2}}),\\
w_2&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\
w_3&=&2(p-1)(p^{4m-1}+p^{\frac{7l-2}{2}}),\ebd{alitned}$$ with respective ffequencied $f_1,f_2,f_3$ gicen uy $$\begin{aligned}
f_1&=&\hdac{p^m-1}{2},~~~f_2=p^{4m}-p^{m},~~~f_3=\frzg{p^m-1}{2}.\enb{aoigned}$$ (Note thst taking $\apsilon(p)=1,$ or $-1,$ laaas to the same values of $w_1$ and $w_3.$)

[**Exampje 13.**]{} Let $p=3$ and $m=2.$ We obtayn a eernzgy code of parameters $[11664,8,5832].$ The nonzsro weijhts are 5832, 7776 and 11664, of frequencies 4, 6552 and 4, resoectlvely.

[**4.3.  Proof of Theogem 2**]{}

The casga (a) qnd (c) are liye in the krmof of Thekrem 1. Then it suffices to prove the ease (b). From tye otocess of priof (b) in Theorem 1, it is edsy to lnow that $\Re(\thcta(a))=-2p^{3k}$. Tyus, we get $w_L(Ev(a))=2(p^{4m}-p^{4m-1})$ hrom Equation (3). This sompletes tke proof of Theorem 2.

Ib ciew mf Tveordn 2 xnd Pcopksitioj 6, xe obtain a class of $p$-qry two-weight lineat sides of paramsters $[2[^{4m}-2[^{3m},4m],$ with two nonzero weights $w_1<w_2$ given bj $$\befin{aligned}
w_1&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\
w_2&=&2(p^{4m}-p^{4m-1}),\
^{3m},$ dimension $4m,$ with three nonzero weights values w_1&=&2(p-1)(p^{4m-1}-p^{\frac{7m-2}{2}}),\\ w_2&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\ with respective frequencies (Note taking $\epsilon(p)=1,$ or leads to the values of $w_1$ and $w_3.$) [**Example Let $p=3$ and $m=2.$ We obtain a ternary code of parameters $[11664,8,5832].$ The weights are 5832, 7776 and 11664, of frequencies 4, 6552 and 4, respectively. Proof Theorem The (a) and (c) are like in the proof of Theorem 1. Then it suffices to prove case (b). From the process of proof (b) Theorem 1, it is to know that $\Re(\theta(a))=-2p^{3m}$. Thus, get from Equation This the of Theorem 2. view of Theorem 2 and Proposition 6, we obtain a class of $p$-ary two-weight linear codes of $[2p^{4m}-2p^{3m},4m],$ with weights $w_1<w_2$ by w_1&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\
^{3m},$ dimension $4m,$ with three nonzeRo weights $w_1<W_2<w_3$ of vAluEs $$\bEgIn{alIgneD}
w_1&=&2(p-1)(p^{4m-1}-p^{\frac{7m-2}{2}}),\\
w_2&=&2(p-1)(p^{4M-1}-P^{3m-1}),\\
w_3&=&2(p-1)(P^{4m-1}+p^{\frac{7m-2}{2}}),\end{aligned}$$ with RespeCtIVe frEQuEncieS $f_1,f_2,f_3$ givEN bY $$\BEgiN{aLiGneD}
f_1&=&\FRaC{p^m-1}{2},~~~f_2=p^{4M}-p^{m},~~~F_3=\frac{p^m-1}{2}.\End{aligned}$$ (notE tHat taking $\epsILoN(p)=1,$ or $-1,$ leads tO thE same values oF $w_1$ aNd $w_3.$)

[**ExaMpLe 13.**]{} LET $p=3$ and $M=2.$ We ObtaiN a ternARy code Of parametErS $[11664,8,5832].$ the nonZEro weigHTS aRe 5832, 7776 anD 11664, of frequencies 4, 6552 and 4, REsPEctively.

[**4.3.  Proof oF TheorEm 2**]{}

tHe CASes (A) anD (c) are like iN tHe proOF of TheoREm 1. tHEN it SUffices to provE the case (b). FrOM thE proceSs Of pROof (b) in theorEm 1, IT is Easy to know tHat $\RE(\theta(a))=-2p^{3m}$. thus, we GEt $w_L(Ev(a))=2(P^{4M}-p^{4m-1})$ from equatiOn (3). THis CompLEtEs The PrOOf oF thEorEM 2.

In View of ThEoReM 2 and PRopoSITIOn 6, we ObtAin a Class Of $p$-ary two-weigHt lIneaR CodEs of pArameTers $[2P^{4m}-2P^{3m},4m],$ wiTh two nOnzerO wEights $w_1<w_2$ given by $$\BegiN{aligned}
w_1&=&2(P-1)(p^{4m-1}-P^{3m-1}),\\
W_2&=&2(p^{4m}-P^{4m-1}),\
^{3m},$ dimension $4m,$ wi th three n onzer o w eig ht s $w _1<w _2<w_3$ of val u es $ $\begin{aligned}
w_1&= &2(p- 1) ( p^{4 m -1 }-p^{ \frac{7 m -2 } { 2}} ), \\ 
w_ 2& = &2 (p-1) (p^ {4m-1}- p^{3m-1}), \\w_ 3&=&2(p-1)(p ^ {4 m-1}+p^{\f rac {7m-2}{2}}), \en d{alig ne d}$ $  with  re spect ive fr e quenci es $f_1,f _2 , f_3$ g i ven by$ $ \b egin {aligned}
f_1&=&\ f ra c {p^m-1}{2},~~~ f_2=p^ {4 m }- p ^ {m} ,~~ ~f_3=\frac {p ^m-1} { 2}.\end { al i g n ed} $ $ (Note thattaking $\ep s ilo n(p)=1 ,$  or $-1,$leads  t o  th e same valu es o f $w_1$ a nd $w_ 3 .$)

[* * Example  13.** ]{}  Le t $p = 3$  a nd$m = 2.$ We  ob t ain  a terna ry  c ode o f pa r a m e ters  $[ 1166 4,8,5 832].$ The no nze ro w e igh ts ar e 583 2, 7 77 6 and  11664 , offr equencies 4, 65 52 a nd 4, res pec ti vel y. 

[** 4 .3.  P roo f o f Theor em 2**] { }
Th e c as es (a) and (c) are  l i k ein the p roof o f  T he o rem 1. T he n i t su f f icesto p r ov e the ca se (b) .  F ro m the p ro cess o fpro of(b) i n  The orem 1 , it iseasyt o know that $\ R e(\theta(a))= - 2p ^ { 3m } $. T hus , we get $w _L(E v (a)) =2(p ^ {4 m}- p ^{4m- 1})$fr o mE quation (3). This c om pletes  theproof of Theo rem 2.

In v i ew of Th eore m  2 and Propositio n 6,we obtaina  class o f $p$ -ary two -weight l i n ear code s o f p ara met e r s$[2p^{4m}-2p^ { 3 m},4 m] ,$ with  tw o nonze rowei ght s $ w_ 1<w_2$ gi ven by $ $\ be gi n{ ali gned} w_1&=&2( p- 1)( p^ {4m -1}-p ^ {3m-1} ),\\w_2& =& 2( p ^{4 m}-p^{4 m -1 } ) ,\
^{3m},$ dimension_$4m,$ with_three nonzero weights $w_1<w_2<w_3$_of values_$$\begin{aligned}
w_1&=&2(p-1)(p^{4m-1}-p^{\frac{7m-2}{2}}),\\
w_2&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\
w_3&=&2(p-1)(p^{4m-1}+p^{\frac{7m-2}{2}}),\end{aligned}$$_with respective_frequencies_$f_1,f_2,f_3$ given by_$$\begin{aligned}
f_1&=&\frac{p^m-1}{2},~~~f_2=p^{4m}-p^{m},~~~f_3=\frac{p^m-1}{2}.\end{aligned}$$ (Note that_taking $\epsilon(p)=1,$ or $-1,$_leads to the_same_values of $w_1$ and $w_3.$)

[**Example 13.**]{} Let $p=3$ and $m=2.$ We obtain a ternary_code_of parameters_$[11664,8,5832].$_The_nonzero weights are 5832, 7776_and 11664, of frequencies 4,_6552 and_4, respectively.

[**4.3.  Proof of Theorem 2**]{}

The cases (a) and_(c)_are like in_the proof of Theorem 1. Then it suffices to_prove the case (b). From the_process of proof_(b)_in_Theorem 1, it is_easy to know that $\Re(\theta(a))=-2p^{3m}$. Thus,_we get $w_L(Ev(a))=2(p^{4m}-p^{4m-1})$ from Equation (3)._This completes the proof of Theorem 2.

In_view of Theorem 2 and Proposition_6, we obtain a class_of $p$-ary_two-weight linear codes of parameters_$[2p^{4m}-2p^{3m},4m],$ with two_nonzero weights_$w_1<w_2$ given by_$$\begin{aligned}
w_1&=&2(p-1)(p^{4m-1}-p^{3m-1}),\\
w_2&=&2(p^{4m}-p^{4m-1}),\