Optical coding theory with prime. (2018)