This method is procedurally simple, but conceptually challenging. That is, it is relatively easy to program a computer to print something enough times that a total number of words will be 50,000, as in the following Python code.
for w in range(50000):
print(" word ")
... but of course the challenge is: which word should you ask it to print 50,000 times?
NaNoGenMo authors have accomplished several projects with essentially this approach.
The notebook demonstrating a PDF workflow is built around an example using the repetition approach.