Activity for torresâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Answer | — |
A: Looping counter J, 13 char ``` '',^:(<)'' ``` How it works: What's in parenthesis indicates to the verb ^: that the verb to the left of ^: has to be performed to the object on the right of the ^: an infinite number of times and that it has to list each intermediate result. '' is infinity, and '<' boxes it to ... (more) |
— | over 2 years ago |
Edit | Post #285924 |
Post edited: |
— | over 2 years ago |
Edit | Post #285924 |
Post edited: |
— | over 2 years ago |
Edit | Post #285924 |
Post edited: |
— | over 2 years ago |
Edit | Post #286540 |
Post edited: |
— | over 2 years ago |
Edit | Post #286540 |
Post edited: |
— | over 2 years ago |
Edit | Post #286540 |
Post edited: |
— | over 2 years ago |
Edit | Post #286540 |
Post edited: |
— | over 2 years ago |
Edit | Post #286540 |
Post edited: |
— | over 2 years ago |
Edit | Post #286540 |
Post edited: |
— | over 2 years ago |
Edit | Post #286540 | Initial revision | — | over 2 years ago |
Answer | — |
A: Collatz conjecture; Count the tries to reach $1$ J, 35 char ``` :@:&3)@.(2&|)^:(1&:@:&3) if intermediate result is odd, multiply by 3 NB. @. choose from gerund using index on right NB. (2&|) mod 2 used as index into gerund on left NB. ^:(1&1 NB. ^:(<) repeat verb on left until intermediate value stops changing and keep intermedia... (more) |
— | over 2 years ago |
Comment | Post #285700 |
This works, too: +/>:?$/ n m (more) |
— | over 2 years ago |
Edit | Post #285924 | Initial revision | — | almost 3 years ago |
Answer | — |
A: Can you give me half? J, 4 unique, 4 char ``` -:= ``` How it works: ``` -: results in half of what's on the right = results in signum of what's on the right is infinity ``` (more) |
— | almost 3 years ago |
- ← Previous
- 1
- 2
- Next →