# American Institute of Mathematical Sciences

May  2018, 12(2): 415-428. doi: 10.3934/amc.2018025

## On some classes of codes with a few weights

 1 School of Computer Science & Technology, Beijing Institute of Technology, Beijing 100081, China 2 Department of Mathematics, Beijing Key Laboratory on MCAACI, Beijing Institute of Technology, Beijing 100081, China

* Corresponding author: Zhimin Sun

Received  June 2017 Revised  February 2018 Published  March 2018

Fund Project: This work was supported by The National Science Foundation of China (No. 11171366).

We generalize the code constructed recently by Wang et al, and obtain many classes of codes with a few weights. The weight distribution of these codes is completely determined, and the minimum distance of the duals of these codes is determined. We also show that some subclasses of the duals of these codes are optimal. Furthermore, some parameters of the generalized Hamming weight of these codes are calculated in certain cases.

Citation: Yiwei Liu, Zihui Liu. On some classes of codes with a few weights. Advances in Mathematics of Communications, 2018, 12 (2) : 415-428. doi: 10.3934/amc.2018025
##### References:

show all references

##### References:
The weight distribution of the code $\mathcal{C}_{A}$ in Theorem 5
 Weight Multiplicity 0 1 $\frac{q+\sqrt{q}}{4}+\frac{q+\sqrt{q}}{4r^{m}}S(a)$ $\frac{q-1}{2}-\frac{q-1}{2r^{m}}S(a)$ $\frac{q-\sqrt{q}}{4}+\frac{q+\sqrt{q}}{4r^{m}}S(a)$ $\frac{q-1}{2}+\frac{q-1}{2r^{m}}S(a)$
 Weight Multiplicity 0 1 $\frac{q+\sqrt{q}}{4}+\frac{q+\sqrt{q}}{4r^{m}}S(a)$ $\frac{q-1}{2}-\frac{q-1}{2r^{m}}S(a)$ $\frac{q-\sqrt{q}}{4}+\frac{q+\sqrt{q}}{4r^{m}}S(a)$ $\frac{q-1}{2}+\frac{q-1}{2r^{m}}S(a)$
The weight distribution of the code $\mathcal{C}_{A}$ in Theorem 10
 Weight Multiplicity 0 1 $\frac{q}{4}$ $\frac{q-3}{2}+(-1)^{\textrm{wt}(\boldsymbol{c}^{(0)})}\frac{q-1}{2r^{m}}S(a)$ $\frac{q+(-1)^{\textrm{wt}(\boldsymbol{c}^{(0)})}2\sqrt{q}}{4}$ $\frac{q-1}{2}-(-1)^{\textrm{wt}(\boldsymbol{c}^{(0)})}\frac{q-1}{2r^{m}}S(a)$ $\frac{q+(-1)^{\textrm{wt}(\boldsymbol{c}^{(0)})}\sqrt{q}}{4}-\frac{q+\sqrt{q}}{4r^{m}}S(a)$ 1
 Weight Multiplicity 0 1 $\frac{q}{4}$ $\frac{q-3}{2}+(-1)^{\textrm{wt}(\boldsymbol{c}^{(0)})}\frac{q-1}{2r^{m}}S(a)$ $\frac{q+(-1)^{\textrm{wt}(\boldsymbol{c}^{(0)})}2\sqrt{q}}{4}$ $\frac{q-1}{2}-(-1)^{\textrm{wt}(\boldsymbol{c}^{(0)})}\frac{q-1}{2r^{m}}S(a)$ $\frac{q+(-1)^{\textrm{wt}(\boldsymbol{c}^{(0)})}\sqrt{q}}{4}-\frac{q+\sqrt{q}}{4r^{m}}S(a)$ 1
 [1] Sergio R. López-Permouth, Steve Szabo. On the Hamming weight of repeated root cyclic and negacyclic codes over Galois rings. Advances in Mathematics of Communications, 2009, 3 (4) : 409-420. doi: 10.3934/amc.2009.3.409 [2] Alexander Barg, Arya Mazumdar, Gilles Zémor. Weight distribution and decoding of codes on hypergraphs. Advances in Mathematics of Communications, 2008, 2 (4) : 433-450. doi: 10.3934/amc.2008.2.433 [3] Nigel Boston, Jing Hao. The weight distribution of quasi-quadratic residue codes. Advances in Mathematics of Communications, 2018, 12 (2) : 363-385. doi: 10.3934/amc.2018023 [4] Eimear Byrne. On the weight distribution of codes over finite rings. Advances in Mathematics of Communications, 2011, 5 (2) : 395-406. doi: 10.3934/amc.2011.5.395 [5] Gerardo Vega, Jesús E. Cuén-Ramos. The weight distribution of families of reducible cyclic codes through the weight distribution of some irreducible cyclic codes. Advances in Mathematics of Communications, 2020, 14 (3) : 525-533. doi: 10.3934/amc.2020059 [6] Lanqiang Li, Shixin Zhu, Li Liu. The weight distribution of a class of p-ary cyclic codes and their applications. Advances in Mathematics of Communications, 2019, 13 (1) : 137-156. doi: 10.3934/amc.2019008 [7] David Keyes. $\mathbb F_p$-codes, theta functions and the Hamming weight MacWilliams identity. Advances in Mathematics of Communications, 2012, 6 (4) : 401-418. doi: 10.3934/amc.2012.6.401 [8] Masaaki Harada, Ethan Novak, Vladimir D. Tonchev. The weight distribution of the self-dual $[128,64]$ polarity design code. Advances in Mathematics of Communications, 2016, 10 (3) : 643-648. doi: 10.3934/amc.2016032 [9] M. L. Miotto. Multiple solutions for elliptic problem in $\mathbb{R}^N$ with critical Sobolev exponent and weight function. Communications on Pure & Applied Analysis, 2010, 9 (1) : 233-248. doi: 10.3934/cpaa.2010.9.233 [10] Tsung-Fang Wu. On semilinear elliptic equations involving critical Sobolev exponents and sign-changing weight function. Communications on Pure & Applied Analysis, 2008, 7 (2) : 383-405. doi: 10.3934/cpaa.2008.7.383 [11] Fengwei Li, Qin Yue, Fengmei Liu. The weight distributions of constacyclic codes. Advances in Mathematics of Communications, 2017, 11 (3) : 471-480. doi: 10.3934/amc.2017039 [12] Tim Alderson, Alessandro Neri. Maximum weight spectrum codes. Advances in Mathematics of Communications, 2019, 13 (1) : 101-119. doi: 10.3934/amc.2019006 [13] Bagher Bagherpour, Shahrooz Janbaz, Ali Zaghian. Optimal information ratio of secret sharing schemes on Dutch windmill graphs. Advances in Mathematics of Communications, 2019, 13 (1) : 89-99. doi: 10.3934/amc.2019005 [14] Anuradha Sharma, Saroj Rani. Trace description and Hamming weights of irreducible constacyclic codes. Advances in Mathematics of Communications, 2018, 12 (1) : 123-141. doi: 10.3934/amc.2018008 [15] Chengju Li, Sunghan Bae, Shudi Yang. Some two-weight and three-weight linear codes. Advances in Mathematics of Communications, 2019, 13 (1) : 195-211. doi: 10.3934/amc.2019013 [16] Petr Lisoněk, Layla Trummer. Algorithms for the minimum weight of linear codes. Advances in Mathematics of Communications, 2016, 10 (1) : 195-207. doi: 10.3934/amc.2016.10.195 [17] Diana M. Thomas, Ashley Ciesla, James A. Levine, John G. Stevens, Corby K. Martin. A mathematical model of weight change with adaptation. Mathematical Biosciences & Engineering, 2009, 6 (4) : 873-887. doi: 10.3934/mbe.2009.6.873 [18] Stefka Bouyuklieva, Zlatko Varbanov. Some connections between self-dual codes, combinatorial designs and secret sharing schemes. Advances in Mathematics of Communications, 2011, 5 (2) : 191-198. doi: 10.3934/amc.2011.5.191 [19] Ryutaroh Matsumoto. Strongly secure quantum ramp secret sharing constructed from algebraic curves over finite fields. Advances in Mathematics of Communications, 2019, 13 (1) : 1-10. doi: 10.3934/amc.2019001 [20] Guglielmo Feltrin. Positive subharmonic solutions to superlinear ODEs with indefinite weight. Discrete & Continuous Dynamical Systems - S, 2018, 11 (2) : 257-277. doi: 10.3934/dcdss.2018014

2019 Impact Factor: 0.734