 The authors went on to generate a 504 position single track code of length 9 which they believe is optimal.Since this number is larger than 28 = 256, more than 8 sensors are required by any code, although a BRGC could distinguish 512 positions with 9 sensors.An STGC for "P" = 30 and "n" = 5 is reproduced here