Daniel, I'll look at remaining it. Thaks for the correction.
It appears that this algorithm generates all prior digits and uses NthDigit to select the desired one. If that is in fact the case then it is not a spigot algorithm. (It might be fine in other respects but that's a different matter.)
NthDigit