Posts by msb
Python 3, 68 bytes def g(n): while True:print(n);d=[*map(int,str(n))];n+=min(d)+max(d) Outputs the n-based sequence indefinitely, starting with n.
Answer
Python 3, 68 bytes def g(n): while True:print(n);d=[*map(int,str(n))];n+=min(d)+max(d) Outputs the n-based sequence indefinitely, starting with n.