Bounds on the minimum distance of linear codes

Bounds on linear codes [240,21] over GF(2)

lower bound:104
upper bound:106


Construction type: CarrasquilloGomezPineroSoto

Construction of a linear code [240,21,104] over GF(2):
[1]:  [240, 21, 104] "Goppa code (r = 96)" Linear Code over GF(2)
     GoppaCode with 240 points over GF(256) and polynomial x^96 + x^66 + x^36 + x^6 where w := GF(256).1

last modified: 2020-10-16

From Brouwer's table (as of 2007-02-13)

Lb(240,21) = 98 is found by truncation of:
Lb(242,21) = 100 MTS

Ub(240,21) = 108 follows by a one-step Griesmer bound from:
Ub(131,20) = 54 is found by considering shortening to:
Ub(129,18) = 54 otherwise adding a parity check bit would contradict:
Ub(130,18) = 55 BK 
BK: Detlef Berntzen & Peter Kemper, email, Feb. 1993.

MTS: Tatsuya Maruta, Mito Takenaka, Maori Shinohara & Yukie Shobara, Constructing new linear codes from pseudo-cyclic codes, pp. 292-298 in Proc. 9th International Workshop on Algebraic and Combinatorial Coding Theory(ACCT) in Kranevo, Bulgaria, 2004.


  • All codes establishing the lower bounds were constructed using MAGMA.
  • Upper bounds are taken from the tables of Andries E. Brouwer, with the exception of codes over GF(7) with n>50. For most of these codes, the upper bounds are rather weak. Upper bounds for codes over GF(7) with small dimension have been provided by Rumen Daskalov.
  • Special thanks to John Cannon for his support in this project.
  • A prototype version of MAGMA's code database over GF(2) was written by Tat Chan in 1999 and extended later that year by Damien Fisher. The current release version was developed by Greg White over the period 2001-2006.
  • Thanks also to Allan Steel for his MAGMA support.
  • My apologies to all authors that have contributed codes to this table for not giving specific credits.

  • If you have found any code improving the bounds or some errors, please send me an e-mail:
    codes [at]

Homepage | New Query | Contact
This page is maintained by Markus Grassl ( Last change: 30.12.2011