This applet generates
n
-length bitstrings without
p
consecutive 1s, in Gray code order.
Input:
n
,
p