Generate the k-ary 'grandmama' de Bruijn sequence of order n using the successor rule from "Constructing de Bruijn Sequences with Co-Lexicographic Order: The k-ary Grandmama Sequence" by Dragon, Hernandez, Sawada, Williams, Wong.