// output of ./demo/bits/grs-next-demo.cc:
// Description:
//% Generate the Golay-Rudin-Shapiro (GRS) sequence.

arg 1: 65 == n  [Print this many values of the sequence.]  default=65
arg 2: 0 == k0  [Start point of the sequence.]  default=0

...1..1....111.1...1..1.111...1....1..1....111.1111.11.1...111.1.
