book chapter · 1992
The Gray Code Function
Cited by 0Abstract and details only
Abstract
Abstract The Gray code of a positive integer m can be defined in terms of its binary expansion as follows. Shift m to the right, discarding the last digit, and then add the result to m without carrying (an exclusive or). Thus if we write ® for the exclusive or operation and ÷ for integer division, so that m÷2 is the right shift of m, then the Gray code of m is g(m) = m ® (m÷2). For each k, the function g permutes the integers between 0 and 2 k – 1. It has the property that the binary expansions of g(m) and (g(m+1) always differ in precisely one digit. This is true cyclically, in the sense that it holds for g(2 k – 1) = 2 k-1 and g(0) = 0. This provides a Hamiltonian circuit on the k-dimensional cube and is the basis of the construction of the diagram in Figure 1.
Cite this paper
Clarke, F. (1992). The Gray Code Function. https://doi.org/10.1093/oso/9780198535942.003.0001
Clarke, Francis. “The Gray Code Function.” 1992, pp. 1–7, https://doi.org/10.1093/oso/9780198535942.003.0001.
Clarke, Francis. 1992. “The Gray Code Function.” https://doi.org/10.1093/oso/9780198535942.003.0001.
Clarke, F. (1992) ‘The Gray Code Function’. Available at: https://doi.org/10.1093/oso/9780198535942.003.0001.
@incollection{clarke1992gray,
title = {{The Gray Code Function}},
author = {Clarke, Francis},
pages = {1--7},
year = {1992},
doi = {10.1093/oso/9780198535942.003.0001}
}Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.