Build the nth term by run-length-encoding the previous term — group consecutive equal digits, then emit count + digit. Two approaches, same problem — switch between them and watch each term grow.
count
digit