Post History
Ruby, 36 bytes Infinite version: n=1;0while n+=p(n).digits.minmax.sum Try this online! (program is interrupted after it reaches the 128KiB limit of output)
Answer
#3: Post edited
- # [Ruby](https://www.ruby-lang.org), 36 bytes
- Infinite version:
- ```ruby
- n=1;0while n+=p(n).digits.minmax.sum
- ```
- **[Try this online!](https://ato.pxeger.com/run?1=m72kqDSpcsGCpaUlaboWN1XybA2tDcozMnNSFfK0bQs08jT1UjLTM0uK9XIz83ITK_SKS3MhaqFaYFoB)**
<br/>(program is interrupted after it reach the 128KiB limit of output)
- # [Ruby](https://www.ruby-lang.org), 36 bytes
- Infinite version:
- ```ruby
- n=1;0while n+=p(n).digits.minmax.sum
- ```
- **[Try this online!](https://ato.pxeger.com/run?1=m72kqDSpcsGCpaUlaboWN1XybA2tDcozMnNSFfK0bQs08jT1UjLTM0uK9XIz83ITK_SKS3MhaqFaYFoB)**
- <br/>(program is interrupted after it reaches the 128KiB limit of output)
#2: Post edited
# [Ruby](https://www.ruby-lang.org), 37 bytes- Infinite version:
- ```ruby
n=1;n+=p(n).digits.minmax.sum while 1- ```
**[Try this online!](https://ato.pxeger.com/run?1=m72kqDSpcsGCpaUlaboWN1XzbA2t87RtCzTyNPVSMtMzS4r1cjPzchMr9IpLcxXKMzJzUhUMIYqhemB6AQ)**- <br/>(program is interrupted after it reach the 128KiB limit of output)
- # [Ruby](https://www.ruby-lang.org), 36 bytes
- Infinite version:
- ```ruby
- n=1;0while n+=p(n).digits.minmax.sum
- ```
- **[Try this online!](https://ato.pxeger.com/run?1=m72kqDSpcsGCpaUlaboWN1XybA2tDcozMnNSFfK0bQs08jT1UjLTM0uK9XIz83ITK_SKS3MhaqFaYFoB)**
- <br/>(program is interrupted after it reach the 128KiB limit of output)
#1: Initial revision
# [Ruby](https://www.ruby-lang.org), 37 bytes Infinite version: ```ruby n=1;n+=p(n).digits.minmax.sum while 1 ``` **[Try this online!](https://ato.pxeger.com/run?1=m72kqDSpcsGCpaUlaboWN1XzbA2t87RtCzTyNPVSMtMzS4r1cjPzchMr9IpLcxXKMzJzUhUMIYqhemB6AQ)** <br/>(program is interrupted after it reach the 128KiB limit of output)