Post History
BQN, 14 solutions (SBCS) Run online! This link shows the result of each expression and a table of character intersections. Each expression intersects with itself only, giving a diagonal matrix. Th...
Answer
#2: Post edited
- # [BQN](https://mlochbaum.github.io/BQN/), 14 solutions ([SBCS](https://github.com/mlochbaum/BQN/blob/master/commentary/sbcs.bqn))
[Run online!](https://mlochbaum.github.io/BQN/try.html#code=c29sdXRpb25zIOKGkCDin6gKICAiMsOXMsOXMsOXMsOXMsOXMsOXMsOXMiIKICAiM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqwzIgogICI04ouGNCIKICAiOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOCIKICAiwq8xNuKIqDE2IgogICLijIo1w7fDtzXDt8O3NcO3NcO3NTXDtzU1NcO3NTXDtzXDtzU1w7c1NTXDtzU1w7c1w7c1NcO3NTU1w7c1NcO3NcO3NTXDtzU1NcO3NTXDtzXDtzU1w7c1NTXDtzU1w7c1w7c1NTU1w7c1NTU1NcO3NTXDtzXDtzU1w7c1NTU1NcO3NTU1NcO3NcO3NTXDtzU1NTU1w7c1NTU1IgogICLijIg34oiaN+KIpzfiiKc34oinN+KIpzfiiKc34oinNzc3Nzc34oinNzc3Nzc3IgogICI94omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omNQCIKICAi4omg4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oie4oaT4oieIgogICLiiaHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpEw4oaRMCIKICAi4oqiwrTijYsiIuKNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNiyIiIgogICI84oG84oqP4oy94oqSz4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgCIKICAi4oqR4o2SwrvCu8K7wrsvwrvCu8K7L8K7wrvCuy/Cu8K7wrvCu+KGlTkiCiAgIicuJytg4omi4oqU4oqUwqviiaLiipTiipTiiaLiipTiipTCq8Kr4omi4oqU4oqU4omi4oqU4omi4omi4omiJ+KKlCciCuKfqQrigKJTaG93IOKAokJRTsKoIHNvbHV0aW9ucwoo4oiowrTiiIop4oycy5wgc29sdXRpb25z) (~20s on my browser/CPU). This link shows the result of each expression and a table of character intersections. Each expression intersects with itself only, giving a diagonal matrix. The expressions based entirely on repetition have been reduced to 16 reps to improve readability and response time (most are not that bad, but the one starting with `≡` takes at least 2<sup>256</sup> operations in an implementation that doesn't cache depth traversal and will definitely DoS you).- ```
- 2×2×2×2×2×2×2×2
- 3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬3
- 4⋆4
- 8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8
- ```
- Four with ordinary arithmetic; nothing exciting about these.
- ```
- ¯16∨16
- ```
- BQN [extends logic operations](https://mlochbaum.github.io/BQN/doc/logic.html) bilinearly. With these, `256` is `¬¯255` is `¬¯15∧17` (`∧` is `×`) is `(¬¯15)∨(¬17)`.
- ```
- ⌊5÷÷5÷÷5÷5÷55÷555÷55÷5÷55÷555÷55÷5÷55÷555÷55÷5÷55÷555÷55÷5÷55÷555÷55÷5÷5555÷55555÷55÷5÷55÷55555÷5555÷5÷55÷55555÷5555
- ⌈7√7∧7∧7∧7∧7∧7∧777777∧777777
- ```
- Arithmetic approximations.
- ```
- =≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍@
- ≠↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓∞↓∞
- ≡↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑0↑0
- ⊢´⍋"⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋"
- <⁼⊏⌽⊒π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π
- ```
- Various flavors of repetition. The first three create arrays with Rank (`=`), Length (`≠`), and [Depth](https://mlochbaum.github.io/BQN/doc/depth.html) (`≡`) 256: see [Solo](https://mlochbaum.github.io/BQN/doc/couple.html) (`≍`) and [Prefixes and Suffixes](https://mlochbaum.github.io/BQN/doc/prefixes.html) (`↑` and `↓`). After that is one based on Grade (`⍋`) and one with [Occurrence Count](https://mlochbaum.github.io/BQN/doc/selfcmp.html#occurrence-count) (`⊒`): both of these produce a list that counts up given a list with all elements equal.
- ```
- ⊑⍒»»»»/»»»/»»»/»»»»↕9
- '.'+`≢⊔⊔«≢⊔⊔≢⊔⊔««≢⊔⊔≢⊔≢≢≢'⊔'
- ```
- I don't really know what to say.
- # [BQN](https://mlochbaum.github.io/BQN/), 14 solutions ([SBCS](https://github.com/mlochbaum/BQN/blob/master/commentary/sbcs.bqn))
- [Run online!](https://mlochbaum.github.io/BQN/try.html#code=c29sdXRpb25zIOKGkCDin6gKICAiMsOXMsOXMsOXMsOXMsOXMsOXMsOXMiIKICAiM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqwzIgogICI04ouGNCIKICAiOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOCIKICAiwq8xNuKIqDE2IgogICLijIo1w7fDtzXDt8O3NcO3NcO3NTXDtzU1NcO3NTXDtzXDtzU1w7c1NTXDtzU1w7c1w7c1NcO3NTU1w7c1NcO3NcO3NTXDtzU1NcO3NTXDtzXDtzU1w7c1NTXDtzU1w7c1w7c1NTU1w7c1NTU1NcO3NTXDtzXDtzU1w7c1NTU1NcO3NTU1NcO3NcO3NTXDtzU1NTU1w7c1NTU1IgogICLijIg34oiaN+KIpzfiiKc34oinN+KIpzfiiKc34oinNzc3Nzc34oinNzc3Nzc3IgogICI94omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omNQCIKICAi4omg4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oie4oaT4oieIgogICLiiaHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpEw4oaRMCIKICAi4oqiwrTijYsiIuKNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNiyIiIgogICI84oG84oqP4oy94oqSz4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgCIKICAi4oqR4o2SwrvCu8K7wrsvwrvCu8K7L8K7wrvCuy/Cu8K7wrvCu+KGlTkiCiAgIicuJytg4omi4oqU4oqUwqviiaLiipTiipTiiaLiipTiipTCq8Kr4omi4oqU4oqU4omi4oqU4omi4omi4omiJ+KKlCciCuKfqQrigKJTaG93IOKAokJRTsKoIHNvbHV0aW9ucwoo4oiowrTiiIop4oycy5wgc29sdXRpb25z) This link shows the result of each expression and a table of character intersections. Each expression intersects with itself only, giving a diagonal matrix. The expressions based entirely on repetition have been reduced to 16 reps to improve readability and response time (most are not that bad, but the one starting with `≡` takes at least 2<sup>256</sup> operations in an implementation that doesn't cache depth traversal and will definitely DoS you).
- ```
- 2×2×2×2×2×2×2×2
- 3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬3
- 4⋆4
- 8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8
- ```
- Four with ordinary arithmetic; nothing exciting about these.
- ```
- ¯16∨16
- ```
- BQN [extends logic operations](https://mlochbaum.github.io/BQN/doc/logic.html) bilinearly. With these, `256` is `¬¯255` is `¬¯15∧17` (`∧` is `×`) is `(¬¯15)∨(¬17)`.
- ```
- ⌊5÷÷5÷÷5÷5÷55÷555÷55÷5÷55÷555÷55÷5÷55÷555÷55÷5÷55÷555÷55÷5÷55÷555÷55÷5÷5555÷55555÷55÷5÷55÷55555÷5555÷5÷55÷55555÷5555
- ⌈7√7∧7∧7∧7∧7∧7∧777777∧777777
- ```
- Arithmetic approximations.
- ```
- =≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍@
- ≠↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓∞↓∞
- ≡↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑0↑0
- ⊢´⍋"⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋"
- <⁼⊏⌽⊒π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π
- ```
- Various flavors of repetition. The first three create arrays with Rank (`=`), Length (`≠`), and [Depth](https://mlochbaum.github.io/BQN/doc/depth.html) (`≡`) 256: see [Solo](https://mlochbaum.github.io/BQN/doc/couple.html) (`≍`) and [Prefixes and Suffixes](https://mlochbaum.github.io/BQN/doc/prefixes.html) (`↑` and `↓`). After that is one based on Grade (`⍋`) and one with [Occurrence Count](https://mlochbaum.github.io/BQN/doc/selfcmp.html#occurrence-count) (`⊒`): both of these produce a list that counts up given a list with all elements equal.
- ```
- ⊑⍒»»»»/»»»/»»»/»»»»↕9
- '.'+`≢⊔⊔«≢⊔⊔≢⊔⊔««≢⊔⊔≢⊔≢≢≢'⊔'
- ```
- I don't really know what to say.
#1: Initial revision
# [BQN](https://mlochbaum.github.io/BQN/), 14 solutions ([SBCS](https://github.com/mlochbaum/BQN/blob/master/commentary/sbcs.bqn)) [Run online!](https://mlochbaum.github.io/BQN/try.html#code=c29sdXRpb25zIOKGkCDin6gKICAiMsOXMsOXMsOXMsOXMsOXMsOXMsOXMiIKICAiM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqzCrDPCrMKsM8KswqwzwqwzIgogICI04ouGNCIKICAiOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOC0tOCIKICAiwq8xNuKIqDE2IgogICLijIo1w7fDtzXDt8O3NcO3NcO3NTXDtzU1NcO3NTXDtzXDtzU1w7c1NTXDtzU1w7c1w7c1NcO3NTU1w7c1NcO3NcO3NTXDtzU1NcO3NTXDtzXDtzU1w7c1NTXDtzU1w7c1w7c1NTU1w7c1NTU1NcO3NTXDtzXDtzU1w7c1NTU1NcO3NTU1NcO3NcO3NTXDtzU1NTU1w7c1NTU1IgogICLijIg34oiaN+KIpzfiiKc34oinN+KIpzfiiKc34oinNzc3Nzc34oinNzc3Nzc3IgogICI94omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omN4omNQCIKICAi4omg4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oaT4oie4oaT4oieIgogICLiiaHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpHihpEw4oaRMCIKICAi4oqiwrTijYsiIuKNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNi+KNiyIiIgogICI84oG84oqP4oy94oqSz4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgOKAv8+A4oC/z4DigL/PgCIKICAi4oqR4o2SwrvCu8K7wrsvwrvCu8K7L8K7wrvCuy/Cu8K7wrvCu+KGlTkiCiAgIicuJytg4omi4oqU4oqUwqviiaLiipTiipTiiaLiipTiipTCq8Kr4omi4oqU4oqU4omi4oqU4omi4omi4omiJ+KKlCciCuKfqQrigKJTaG93IOKAokJRTsKoIHNvbHV0aW9ucwoo4oiowrTiiIop4oycy5wgc29sdXRpb25z) (~20s on my browser/CPU). This link shows the result of each expression and a table of character intersections. Each expression intersects with itself only, giving a diagonal matrix. The expressions based entirely on repetition have been reduced to 16 reps to improve readability and response time (most are not that bad, but the one starting with `≡` takes at least 2<sup>256</sup> operations in an implementation that doesn't cache depth traversal and will definitely DoS you). ``` 2×2×2×2×2×2×2×2 3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬¬3¬3 4⋆4 8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8 ``` Four with ordinary arithmetic; nothing exciting about these. ``` ¯16∨16 ``` BQN [extends logic operations](https://mlochbaum.github.io/BQN/doc/logic.html) bilinearly. With these, `256` is `¬¯255` is `¬¯15∧17` (`∧` is `×`) is `(¬¯15)∨(¬17)`. ``` ⌊5÷÷5÷÷5÷5÷55÷555÷55÷5÷55÷555÷55÷5÷55÷555÷55÷5÷55÷555÷55÷5÷55÷555÷55÷5÷5555÷55555÷55÷5÷55÷55555÷5555÷5÷55÷55555÷5555 ⌈7√7∧7∧7∧7∧7∧7∧777777∧777777 ``` Arithmetic approximations. ``` =≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍≍@ ≠↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓∞↓∞ ≡↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑0↑0 ⊢´⍋"⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋⍋" <⁼⊏⌽⊒π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π‿π ``` Various flavors of repetition. The first three create arrays with Rank (`=`), Length (`≠`), and [Depth](https://mlochbaum.github.io/BQN/doc/depth.html) (`≡`) 256: see [Solo](https://mlochbaum.github.io/BQN/doc/couple.html) (`≍`) and [Prefixes and Suffixes](https://mlochbaum.github.io/BQN/doc/prefixes.html) (`↑` and `↓`). After that is one based on Grade (`⍋`) and one with [Occurrence Count](https://mlochbaum.github.io/BQN/doc/selfcmp.html#occurrence-count) (`⊒`): both of these produce a list that counts up given a list with all elements equal. ``` ⊑⍒»»»»/»»»/»»»/»»»»↕9 '.'+`≢⊔⊔«≢⊔⊔≢⊔⊔««≢⊔⊔≢⊔≢≢≢'⊔' ``` I don't really know what to say.