Activity for msb
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #289805 | Initial revision | — | about 1 year ago |
Answer | — |
A: Digit Sum Integer Sequence (working title) [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`. (more) |
— | about 1 year ago |
Comment | Post #287095 |
you can save another 1 if you use 'n>>=4' instead of 'n//=16' (more) |
— | about 1 year ago |
Comment | Post #287139 |
Nice solution! A byte can be saved by replacing "açaí" with "peach". (more) |
— | about 1 year ago |