OFFSET
1,4
REFERENCES
https://mathworld.wolfram.com/notebooks/Combinatorics/GrayCode.nb.
FORMULA
a(n)=GrayCode[Hofstadter[n] - 1, 4].
MATHEMATICA
<< DiscreteMath`CombinatorialFunctions` (* rather than put in the whole code :needs GrayCode.nb *) Table[GrayCode[Hofstadter[n] - 1, 4], {n, 100}]
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Roger L. Bagula and Gary W. Adamson, Nov 18 2008
STATUS
approved