Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

80%
+6 −0
Challenges Output 256 in many different ways

Vyxal, 20 23 24 solutions Thanks to @Razetime for suggesting using Π, allowing for +1 solution. Try them Online! The programs are meant to be run individually, so the ,Ṡ_ is just there to output...

posted 3y ago by Aaron Miller‭  ·  edited 3y ago by Aaron Miller‭

Answer
#3: Post edited by user avatar Aaron Miller‭ · 2021-06-18T20:32:36Z (almost 3 years ago)
  • # [Vyxal](https://github.com/Lyxal/Vyxal), <s><sup>20</s></sup> 23 solutions
  • *Thanks to @Razetime for suggesting using* `Π`*, allowing for +1 solution.*
  • [Try them Online!](http://lyxal.pythonanywhere.com?flags=&code=%E2%82%88%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A256%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%87d%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%864*%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%5C%C4%80C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%87%A7%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%80%B9%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%82%B4%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%C2%A4%2C%E1%B9%A0_%0A%E2%80%BA%E2%80%BAS%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A8E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%80%E2%87%A9%C7%8D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%EA%9C%9D%E2%82%8C%C8%A7%C8%A7%E2%82%8C%E2%86%B2%E2%86%B2~%E2%86%B2e%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0Au%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90W%CE%A0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0Ak%C2%B6%C2%BD%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%A4%E2%82%81%2BH%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%AC%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%BB%C6%9BN%C2%BB%E2%88%86K%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%80%9B%CE%BB%E1%B8%A2mmmmmL%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A.%20.%2FI%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C2%B2%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%81%BA%E1%B9%A1%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C7%8E%C7%8E0%E2%82%840%E2%82%840%201----%C7%8E--%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%3D%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22fB%20%20%20%20%20%2C%E1%B9%A0_%0A%60%E2%89%AC%E2%80%9E%C2%BE%E2%85%9B%60%60%E2%89%AC%E2%80%A1%E2%80%9E%E2%86%B5%C2%BC%C2%BE%E2%85%9B%E2%96%A1%E2%80%9F%E2%82%85%60%CE%B2%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%AB%C3%9E%C2%AB3%C9%BDG%C2%AB%C6%88%C2%AB3%C9%BDG3%C9%BDG3%C9%BDGppppp%E1%B9%84%C4%96%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_&inputs=&header=&footer=)
  • The programs are meant to be run individually, so the `,Ṡ_` is just there to emulate implicit output and clear the stack. You can try any solution individually to verify.
  • I gave myself the challenge of doing this without looking at any other answers, and I'm pretty happy with how it turned out!
  • Here's explanations for each program. In the more complicated ones, `[stuff]` at the end of the line indicates the current stack.
  • **Note: Two programs have a space in them, but that is only for readability and formatting. In either program, the space could be replaced with a linefeed and it would still function the same.**
  • ```
  • ₈ # Push 256
  • ```
  • ```
  • 256 # Push 256
  • ```
  • ```
  • ₇d # 128 * 2
  • ```
  • ```
  • ₆4* # 64 * 4
  • ```
  • ```
  • \Ā # Push 'Ā'
  • C # To ordinal value
  • ```
  • ```
  • ⇧₴ # Increment 2 and print
  • ⇧⇧⇧‹₴ # Increment 6, decrement, and print
  • ⇧⇧⇧₴ # Increment 6 and print
  • ```
  • ```
  • ›› # Increment 2 - [2]
  • S # To string - [`2`]
  • ? # Get input. No input, so push 0 - [`2` 0]
  • ›››››S # Increment 5, to string - [`2` `5`
  • J # Join with last string - [`25`]
  • ?››››››SJ # Again, incrementing to 6 - [`256`]
  • ```
  • ```
  • 8E # 2 ** 8
  • ```
  • ```
  • ₀ # Push 10
  • ⇩ # Decrement 2
  • Ǎ # 2 ** 8
  • ```
  • ```
  • ꜝ # Bitwise not - [-1]
  • ₌ȧȧ # Parallel apply absolute value and absolute value - [1 1]
  • ₌↲↲ # Parallel apply 'a << b' and 'a << b' - [2 2]
  • ~↲ # Do 'a << b' without popping the stack - [2 2 8]
  • e # Exponentiate - [2 256]
  • ```
  • ```
  • u # Push -1 - [-1]
  • ⌐ # 1 - a - [2]
  • u⌐u⌐u⌐u⌐u⌐u⌐u⌐ # Several more times - [2 2 2 2 2 2 2 2]
  • W # Wrap stack - [[2,2,2,2,2,2,2,2]]
  • Π # Reduce by multiplication - [256]
  • ```
  • ```
  • k¶½ # 512 / 2
  • ```
  • ```
  • ¤ # Push empty string - [``]
  • ₁ # Push 100 - [`` 100]
  • + # Add - [`100`]
  • H # Convert from base 16 - [256]
  • ```
  • ```
  • ¬ # Not - [1]
  • : # Duplicate - [1 1]
  • Ṡ # Sum of stack [2]
  • :Ṡ # Repeat - [4]
  • :Ṡ # [8]
  • :Ṡ # [16]
  • :Ṡ # [32]
  • :Ṡ # [64]
  • :Ṡ # [128]
  • :Ṡ # [256]
  • ```
  • ```
  • »ƛN» # Push compressed number 332
  • ∆K # Sum of proper divisors
  • ```
  • ```
  • ‛λḢ # Push dictionary word 'business'
  • m # Palindromize - [`businessssenisub`]
  • mmmm # A few more times - [`BigLongStringOfCharacters`]
  • L # Length of string - [256]
  • ```
  • ```
  • ! # Length of stack - [0]
  • ! # Length of stack - [0 1]
  • ! # Length of stack - [0 1 2]
  • ...Many, many, more...
  • ! # Length of stack - [0 1 2 .. 256]
  • ```
  • ```
  • . # Push 0.5 - [0.5]
  • . # Push 0.5 - [0.5 0.5]
  • / # Divide - [1.0]
  • I # To int - [1]
  • øṁ # a + palindromized(a) - [2]
  • øṁ # Again - [4]
  • øṁ # [8]
  • øṁ # [16]
  • ² # Squared - [256]
  • ```
  • ```
  • ⁺ṡ # 101 + codepage value of 'ṡ' (0x9B)
  • ```
  • ```
  • ǎ # ath prime - [2]
  • ǎ # ath prime - [5]
  • 0 # Push 0 - [5 0]
  • ₄ # Push 26 - [5 0 26]
  • 0₄0 1 # Some more numbers - [5 0 26 0 26 0 1]
  • - # Subtract - [5 0 26 0 26 -1]
  • - # [5 0 26 0 27]
  • - # [5 0 26 -27]
  • - # [5 0 53]
  • ǎ # ath prime - [5 0 251]
  • - # Subtract - [5 -251]
  • - # Subtract - [256]
  • ```
  • ```
  • = # a == b? - [1]
  • ⁽₃ # Push lambda - [1 lambda_
  • ⁽₃ # Push lambda - [1 lambda_ lambda_]
  • = # a == b? = [1 0]
  • " # Wrap a and b - [[1,0]]
  • ⁽₃⁽₃=" # Repeat - [[[1,0],0]]
  • ⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃=" # Some more - [[[[[[[[[1,0],0],0],0],0],0],0],0]]
  • f # Flatten list - [[1,0,0,0,0,0,0,0,0]]
  • B # Convert from base 2 - [256]
  • ```
  • ```
  • `≬„¾⅛` # Push string
  • `≬‡„↵¼¾⅛□‟₅` # Push other string
  • β # Convert a from custom base b
  • ```
  • ```
  • «Þ« # Push compressed string - [`e `]
  • 3 # Push 3 - [`e ` 3]
  • ɽ # Range [1..a) - [`e ` [1,2]]
  • G # Maximum of a - [`e ` 2]
  • «ƈ« # Push compressed string - [`e ` 2 `ee`]
  • 3ɽG3ɽG3ɽG # Some more 2s - [`e ` 2 `ee` 2 2 2]
  • p # Prepend - [`e ` 2 `ee` 2 22]
  • pppp # A few more times - [`222ee2e `
  • Ṅ # Separate by spaces - [`2 2 2 e e 2 e `]
  • Ė # Evaluate as Vyxal code - [256]
  • ```
  • # [Vyxal](https://github.com/Lyxal/Vyxal), <s><sup>20</s></sup> <s><sup>23</s></sup> 24 solutions
  • *Thanks to @Razetime for suggesting using* `Π`*, allowing for +1 solution.*
  • [Try them Online!](http://lyxal.pythonanywhere.com?flags=&code=%20%20%20%20%20%E2%82%88%0A%2C%E1%B9%A0_%20%20256%0A%2C%E1%B9%A0_%20%20%E2%82%87d%0A%2C%E1%B9%A0_%20%20%E2%82%864*%0A%2C%E1%B9%A0_%20%20%5C%C4%80C%0A%2C%E1%B9%A0_%20%20%E2%87%A7%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%80%B9%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%82%B4%0A%C2%A4%2C%E1%B9%A0_%20%E2%80%BA%E2%80%BAS%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%0A%2C%E1%B9%A0_%20%208E%0A%2C%E1%B9%A0_%20%20%E2%82%80%E2%87%A9%C7%8D%0A%2C%E1%B9%A0_%20%20%EA%9C%9D%E2%82%8C%C8%A7%C8%A7%E2%82%8C%E2%86%B2%E2%86%B2~%E2%86%B2e%0A%2C%E1%B9%A0_%20%20u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90W%CE%A0%0A%2C%E1%B9%A0_%20%20k%C2%B6%C2%BD%0A%2C%E1%B9%A0_%20%20%C2%A4%E2%82%81%2BH%0A%2C%E1%B9%A0_%20%20%C2%AC%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%0A%2C%E1%B9%A0_%20%20%C2%BB%C6%9BN%C2%BB%E2%88%86K%0A%2C%E1%B9%A0_%20%20%E2%80%9B%CE%BB%E1%B8%A2mmmmmL%0A%2C%E1%B9%A0_%20%20.%20.%2FI%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C2%B2%0A%2C%E1%B9%A0_%20%20%E2%81%BA%E1%B9%A1%0A%2C%E1%B9%A0_%20%20%C7%8E%C7%8E0%E2%82%840%E2%82%840%201----%C7%8E--%0A%2C%E1%B9%A0_%20%20%3D%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22fB%0A%2C%E1%B9%A0_%20%20%60%E2%89%AC%E2%80%9E%C2%BE%E2%85%9B%60%60%E2%89%AC%E2%80%A1%E2%80%9E%E2%86%B5%C2%BC%C2%BE%E2%85%9B%E2%96%A1%E2%80%9F%E2%82%85%60%CE%B2%0A%2C%E1%B9%A0_%20%20%C2%AB%C3%9E%C2%AB3%C9%BDG%C2%AB%C6%88%C2%AB3%C9%BDG3%C9%BDG3%C9%BDGppppp%E1%B9%84%C4%96%0A%2C%E1%B9%A0_%20%2079%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6t%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6%C2%A6t&inputs=&header=&footer=)
  • The programs are meant to be run individually, so the `,Ṡ_` is just there to output the previous line and clear the stack. You can try any solution individually to verify.
  • I gave myself the challenge of doing this without looking at any other answers, and I'm pretty happy with how it turned out!
  • Here's explanations for each program. In the more complicated ones, `[stuff]` at the end of the line indicates the current stack.
  • **Note: Two programs have a space in them, but that is only for readability and formatting. In either program, the space could be replaced with a linefeed and it would still function the same.**
  • ```
  • ₈ # Push 256
  • ```
  • ```
  • 256 # Push 256
  • ```
  • ```
  • ₇d # 128 * 2
  • ```
  • ```
  • ₆4* # 64 * 4
  • ```
  • ```
  • \Ā # Push 'Ā'
  • C # To ordinal value
  • ```
  • ```
  • ⇧₴ # Increment 2 and print
  • ⇧⇧⇧‹₴ # Increment 6, decrement, and print
  • ⇧⇧⇧₴ # Increment 6 and print
  • ```
  • ```
  • ›› # Increment 2 - [2]
  • S # To string - [`2`]
  • ? # Get input. No input, so push 0 - [`2` 0]
  • ›››››S # Increment 5, to string - [`2` `5`
  • J # Join with last string - [`25`]
  • ?››››››SJ # Again, incrementing to 6 - [`256`]
  • ```
  • ```
  • 8E # 2 ** 8
  • ```
  • ```
  • ₀ # Push 10
  • ⇩ # Decrement 2
  • Ǎ # 2 ** 8
  • ```
  • ```
  • ꜝ # Bitwise not - [-1]
  • ₌ȧȧ # Parallel apply absolute value and absolute value - [1 1]
  • ₌↲↲ # Parallel apply 'a << b' and 'a << b' - [2 2]
  • ~↲ # Do 'a << b' without popping the stack - [2 2 8]
  • e # Exponentiate - [2 256]
  • ```
  • ```
  • u # Push -1 - [-1]
  • ⌐ # 1 - a - [2]
  • u⌐u⌐u⌐u⌐u⌐u⌐u⌐ # Several more times - [2 2 2 2 2 2 2 2]
  • W # Wrap stack - [[2,2,2,2,2,2,2,2]]
  • Π # Reduce by multiplication - [256]
  • ```
  • ```
  • k¶½ # 512 / 2
  • ```
  • ```
  • ¤ # Push empty string - [``]
  • ₁ # Push 100 - [`` 100]
  • + # Add - [`100`]
  • H # Convert from base 16 - [256]
  • ```
  • ```
  • ¬ # Not - [1]
  • : # Duplicate - [1 1]
  • Ṡ # Sum of stack [2]
  • :Ṡ # Repeat - [4]
  • :Ṡ # [8]
  • :Ṡ # [16]
  • :Ṡ # [32]
  • :Ṡ # [64]
  • :Ṡ # [128]
  • :Ṡ # [256]
  • ```
  • ```
  • »ƛN» # Push compressed number 332
  • ∆K # Sum of proper divisors
  • ```
  • ```
  • ‛λḢ # Push dictionary word 'business'
  • m # Palindromize - [`businessssenisub`]
  • mmmm # A few more times - [`BigLongStringOfCharacters`]
  • L # Length of string - [256]
  • ```
  • ```
  • ! # Length of stack - [0]
  • ! # Length of stack - [0 1]
  • ! # Length of stack - [0 1 2]
  • ...Many, many, more...
  • ! # Length of stack - [0 1 2 .. 256]
  • ```
  • ```
  • . # Push 0.5 - [0.5]
  • . # Push 0.5 - [0.5 0.5]
  • / # Divide - [1.0]
  • I # To int - [1]
  • øṁ # a + palindromized(a) - [2]
  • øṁ # Again - [4]
  • øṁ # [8]
  • øṁ # [16]
  • ² # Squared - [256]
  • ```
  • ```
  • ⁺ṡ # 101 + codepage value of 'ṡ' (0x9B)
  • ```
  • ```
  • ǎ # ath prime - [2]
  • ǎ # ath prime - [5]
  • 0 # Push 0 - [5 0]
  • ₄ # Push 26 - [5 0 26]
  • 0₄0 1 # Some more numbers - [5 0 26 0 26 0 1]
  • - # Subtract - [5 0 26 0 26 -1]
  • - # [5 0 26 0 27]
  • - # [5 0 26 -27]
  • - # [5 0 53]
  • ǎ # ath prime - [5 0 251]
  • - # Subtract - [5 -251]
  • - # Subtract - [256]
  • ```
  • ```
  • = # a == b? - [1]
  • ⁽₃ # Push lambda - [1 lambda_
  • ⁽₃ # Push lambda - [1 lambda_ lambda_]
  • = # a == b? = [1 0]
  • " # Wrap a and b - [[1,0]]
  • ⁽₃⁽₃=" # Repeat - [[[1,0],0]]
  • ⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃=" # Some more - [[[[[[[[[1,0],0],0],0],0],0],0],0]]
  • f # Flatten list - [[1,0,0,0,0,0,0,0,0]]
  • B # Convert from base 2 - [256]
  • ```
  • ```
  • `≬„¾⅛` # Push string
  • `≬‡„↵¼¾⅛□‟₅` # Push other string
  • β # Convert a from custom base b
  • ```
  • ```
  • «Þ« # Push compressed string - [`e `]
  • 3 # Push 3 - [`e ` 3]
  • ɽ # Range [1..a) - [`e ` [1,2]]
  • G # Maximum of a - [`e ` 2]
  • «ƈ« # Push compressed string - [`e ` 2 `ee`]
  • 3ɽG3ɽG3ɽG # Some more 2s - [`e ` 2 `ee` 2 2 2]
  • p # Prepend - [`e ` 2 `ee` 2 22]
  • pppp # A few more times - [`222ee2e `
  • Ṅ # Separate by spaces - [`2 2 2 e e 2 e `]
  • Ė # Evaluate as Vyxal code - [256]
  • ```
  • ```
  • 79 # Push 79 - [79]
  • ¦ # Cumulative sum - [[7,16]]
  • ¦ # Cumulative sum - [[7,23]]
  • ¦ # Cumulative sum - [[7,30]]
  • ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ # A bunch more - [[7,191]]
  • t # Tail - [191]
  • ¦ # Cumulative sum - [[1,10,11]]
  • ¦¦¦¦¦¦¦¦¦¦¦¦¦¦ # And then some more - [[1,24,256]]
  • t # Tail - [256]
  • ```
#2: Post edited by user avatar Aaron Miller‭ · 2021-06-18T16:42:45Z (almost 3 years ago)
  • # [Vyxal](https://github.com/Lyxal/Vyxal), 20 solutions
  • [Try them Online!](http://lyxal.pythonanywhere.com?flags=&code=%E2%82%88%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A256%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%87d%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%864*%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%5C%C4%80C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%87%A7%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%80%B9%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%82%B4%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%C2%A4%2C%E1%B9%A0_%0A%E2%80%BA%E2%80%BAS%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A8E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%80%E2%87%A9%C7%8D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%EA%9C%9D%E2%82%8C%C8%A7%C8%A7%E2%82%8C%E2%86%B2%E2%86%B2~%E2%86%B2e%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0Au%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90%C3%97%C3%97%C3%97%C3%97%C3%97%C3%97%C3%97W%E1%B9%84%C4%96%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0Ak%C2%B6%C2%BD%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%A4%E2%82%81%2BH%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%AC%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%BB%C6%9BN%C2%BB%E2%88%86K%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%80%9B%CE%BB%E1%B8%A2mmmmmL%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A.%20.%2FI%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C2%B2%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%81%BA%E1%B9%A1%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C7%8E%C7%8E0%E2%82%840%E2%82%840%201----%C7%8E--%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_&inputs=&header=&footer=)
  • The programs are meant to be run individually, so the `,Ṡ_` is just there to emulate implicit output and clear the stack. You can try any solution individually to verify.
  • I gave myself the challenge of doing this without looking at any other answers, and I'm pretty happy with how it turned out!
  • Here's explanations for each program. In the more complicated ones, `[stuff]` at the end of the line indicates the current stack.
  • **Note: Two programs have a space in them, but that is only for readability and formatting. In either program, the space could be replaced with a linefeed and it would still function the same.**
  • ```
  • ₈ # Push 256
  • ```
  • ```
  • 256 # Push 256
  • ```
  • ```
  • ₇d # 128 * 2
  • ```
  • ```
  • ₆4* # 64 * 4
  • ```
  • ```
  • \Ā # Push 'Ā'
  • C # To ordinal value
  • ```
  • ```
  • ⇧₴ # Increment 2 and print
  • ⇧⇧⇧‹₴ # Increment 6, decrement, and print
  • ⇧⇧⇧₴ # Increment 6 and print
  • ```
  • ```
  • ›› # Increment 2 - [2]
  • S # To string - [`2`]
  • ? # Get input. No input, so push 0 - [`2` 0]
  • ›››››S # Increment 5, to string - [`2` `5`
  • J # Join with last string - [`25`]
  • ?››››››SJ # Again, incrementing to 6 - [`256`]
  • ```
  • ```
  • 8E # 2 ** 8
  • ```
  • ```
  • ₀ # Push 10
  • ⇩ # Decrement 2
  • Ǎ # 2 ** 8
  • ```
  • ```
  • ꜝ # Bitwise not - [-1]
  • ₌ȧȧ # Parallel apply absolute value and absolute value - [1 1]
  • ₌↲↲ # Parallel apply 'a << b' and 'a << b' - [2 2]
  • ~↲ # Do 'a << b' without popping the stack - [2 2 8]
  • e # Exponentiate - [2 256]
  • ```
  • ```
  • u # Push -1 - [-1]
  • # 1 - a - [2]
  • u⌐u⌐u⌐u⌐u⌐u⌐u⌐ # Several more times - [2 2 2 2 2 2 2 2]
  • × # Push '*' - [2 2 2 2 2 2 2 2 `*`]
  • ×××××× # Several more times - [2 2 2 2 2 2 2 2 `*` `*` `*` `*` `*` `*` `*`]
  • W # Wrap stack - [[2,2,2,2,2,2,2,2,`*`,`*`,`*`,`*`,`*`,`*`,`*`,`*`]]
  • # Join by spaces - [`2 2 2 2 2 2 2 2 * * * * * * *`]
  • Ė # Evaluate as Vyxal code - [256]
  • ```
  • ```
  • k¶½ # 512 / 2
  • ```
  • ```
  • ¤ # Push empty string - [``]
  • ₁ # Push 100 - [`` 100]
  • + # Add - [`100`]
  • H # Convert to base 16 - [256]
  • ```
  • ```
  • ¬ # Not - [1]
  • : # Duplicate - [1 1]
  • Ṡ # Sum of stack [2]
  • :Ṡ # Repeat - [4]
  • :Ṡ # [8]
  • :Ṡ # [16]
  • :Ṡ # [32]
  • :Ṡ # [64]
  • :Ṡ # [128]
  • :Ṡ # [256]
  • ```
  • ```
  • »ƛN» # Push compressed number 332
  • ∆K # Sum of proper divisors
  • ```
  • ```
  • ‛λḢ # Push dictionary word 'business'
  • m # Palindromize - [`businessssenisub`]
  • mmmm # A few more times - [`BigLongStringOfCharacters`]
  • L # Length of string
  • ```
  • ```
  • ! # Length of stack - [0]
  • ! # Length of stack - [0 1]
  • ! # Length of stack - [0 1 2]
  • ...Many, many, more...
  • ! # Length of stack - [0 1 2 .. 256]
  • ```
  • ```
  • . # Push 0.5 - [0.5]
  • . # Push 0.5 - [0.5 0.5]
  • / # Divide - [1.0]
  • I # To int - [1]
  • øṁ # a + palindromized(a) - [2]
  • øṁ # Again - [4]
  • øṁ # [8]
  • øṁ # [16]
  • ² # Squared - [256]
  • ```
  • ```
  • ⁺ṡ # 101 + codepage value of 'ṡ' (0x9B)
  • ```
  • ```
  • ǎ # ath prime - [2]
  • ǎ # ath prime - [5]
  • 0 # Push 0 - [5 0]
  • ₄ # Push 26 - [5 0 26]
  • 0₄0 1 # Some more numbers - [5 0 26 0 26 0 1]
  • - # Subtract - [5 0 26 0 26 -1]
  • - # [5 0 26 0 27]
  • - # [5 0 26 -27]
  • - # [5 0 53]
  • ǎ # ath prime - [5 0 251]
  • - # Subtract - [5 -251]
  • - # Subtract - [256]
  • ```
  • # [Vyxal](https://github.com/Lyxal/Vyxal), <s><sup>20</s></sup> 23 solutions
  • *Thanks to @Razetime for suggesting using* `Π`*, allowing for +1 solution.*
  • [Try them Online!](http://lyxal.pythonanywhere.com?flags=&code=%E2%82%88%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A256%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%87d%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%864*%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%5C%C4%80C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%87%A7%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%80%B9%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%82%B4%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%C2%A4%2C%E1%B9%A0_%0A%E2%80%BA%E2%80%BAS%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A8E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%80%E2%87%A9%C7%8D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%EA%9C%9D%E2%82%8C%C8%A7%C8%A7%E2%82%8C%E2%86%B2%E2%86%B2~%E2%86%B2e%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0Au%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90W%CE%A0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0Ak%C2%B6%C2%BD%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%A4%E2%82%81%2BH%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%AC%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%BB%C6%9BN%C2%BB%E2%88%86K%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%80%9B%CE%BB%E1%B8%A2mmmmmL%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A.%20.%2FI%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C2%B2%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%81%BA%E1%B9%A1%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C7%8E%C7%8E0%E2%82%840%E2%82%840%201----%C7%8E--%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%3D%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22%E2%81%BD%E2%82%83%E2%81%BD%E2%82%83%3D%22fB%20%20%20%20%20%2C%E1%B9%A0_%0A%60%E2%89%AC%E2%80%9E%C2%BE%E2%85%9B%60%60%E2%89%AC%E2%80%A1%E2%80%9E%E2%86%B5%C2%BC%C2%BE%E2%85%9B%E2%96%A1%E2%80%9F%E2%82%85%60%CE%B2%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%AB%C3%9E%C2%AB3%C9%BDG%C2%AB%C6%88%C2%AB3%C9%BDG3%C9%BDG3%C9%BDGppppp%E1%B9%84%C4%96%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_&inputs=&header=&footer=)
  • The programs are meant to be run individually, so the `,Ṡ_` is just there to emulate implicit output and clear the stack. You can try any solution individually to verify.
  • I gave myself the challenge of doing this without looking at any other answers, and I'm pretty happy with how it turned out!
  • Here's explanations for each program. In the more complicated ones, `[stuff]` at the end of the line indicates the current stack.
  • **Note: Two programs have a space in them, but that is only for readability and formatting. In either program, the space could be replaced with a linefeed and it would still function the same.**
  • ```
  • ₈ # Push 256
  • ```
  • ```
  • 256 # Push 256
  • ```
  • ```
  • ₇d # 128 * 2
  • ```
  • ```
  • ₆4* # 64 * 4
  • ```
  • ```
  • \Ā # Push 'Ā'
  • C # To ordinal value
  • ```
  • ```
  • ⇧₴ # Increment 2 and print
  • ⇧⇧⇧‹₴ # Increment 6, decrement, and print
  • ⇧⇧⇧₴ # Increment 6 and print
  • ```
  • ```
  • ›› # Increment 2 - [2]
  • S # To string - [`2`]
  • ? # Get input. No input, so push 0 - [`2` 0]
  • ›››››S # Increment 5, to string - [`2` `5`
  • J # Join with last string - [`25`]
  • ?››››››SJ # Again, incrementing to 6 - [`256`]
  • ```
  • ```
  • 8E # 2 ** 8
  • ```
  • ```
  • ₀ # Push 10
  • ⇩ # Decrement 2
  • Ǎ # 2 ** 8
  • ```
  • ```
  • ꜝ # Bitwise not - [-1]
  • ₌ȧȧ # Parallel apply absolute value and absolute value - [1 1]
  • ₌↲↲ # Parallel apply 'a << b' and 'a << b' - [2 2]
  • ~↲ # Do 'a << b' without popping the stack - [2 2 8]
  • e # Exponentiate - [2 256]
  • ```
  • ```
  • u # Push -1 - [-1]
  • ⌐ # 1 - a - [2]
  • u⌐u⌐u⌐u⌐u⌐u⌐u⌐ # Several more times - [2 2 2 2 2 2 2 2]
  • W # Wrap stack - [[2,2,2,2,2,2,2,2]]
  • Π # Reduce by multiplication - [256]
  • ```
  • ```
  • k¶½ # 512 / 2
  • ```
  • ```
  • ¤ # Push empty string - [``]
  • ₁ # Push 100 - [`` 100]
  • + # Add - [`100`]
  • H # Convert from base 16 - [256]
  • ```
  • ```
  • ¬ # Not - [1]
  • : # Duplicate - [1 1]
  • Ṡ # Sum of stack [2]
  • :Ṡ # Repeat - [4]
  • :Ṡ # [8]
  • :Ṡ # [16]
  • :Ṡ # [32]
  • :Ṡ # [64]
  • :Ṡ # [128]
  • :Ṡ # [256]
  • ```
  • ```
  • »ƛN» # Push compressed number 332
  • ∆K # Sum of proper divisors
  • ```
  • ```
  • ‛λḢ # Push dictionary word 'business'
  • m # Palindromize - [`businessssenisub`]
  • mmmm # A few more times - [`BigLongStringOfCharacters`]
  • L # Length of string - [256]
  • ```
  • ```
  • ! # Length of stack - [0]
  • ! # Length of stack - [0 1]
  • ! # Length of stack - [0 1 2]
  • ...Many, many, more...
  • ! # Length of stack - [0 1 2 .. 256]
  • ```
  • ```
  • . # Push 0.5 - [0.5]
  • . # Push 0.5 - [0.5 0.5]
  • / # Divide - [1.0]
  • I # To int - [1]
  • øṁ # a + palindromized(a) - [2]
  • øṁ # Again - [4]
  • øṁ # [8]
  • øṁ # [16]
  • ² # Squared - [256]
  • ```
  • ```
  • ⁺ṡ # 101 + codepage value of 'ṡ' (0x9B)
  • ```
  • ```
  • ǎ # ath prime - [2]
  • ǎ # ath prime - [5]
  • 0 # Push 0 - [5 0]
  • ₄ # Push 26 - [5 0 26]
  • 0₄0 1 # Some more numbers - [5 0 26 0 26 0 1]
  • - # Subtract - [5 0 26 0 26 -1]
  • - # [5 0 26 0 27]
  • - # [5 0 26 -27]
  • - # [5 0 53]
  • ǎ # ath prime - [5 0 251]
  • - # Subtract - [5 -251]
  • - # Subtract - [256]
  • ```
  • ```
  • = # a == b? - [1]
  • ⁽₃ # Push lambda - [1 lambda_
  • ⁽₃ # Push lambda - [1 lambda_ lambda_]
  • = # a == b? = [1 0]
  • " # Wrap a and b - [[1,0]]
  • ⁽₃⁽₃=" # Repeat - [[[1,0],0]]
  • ⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃="⁽₃⁽₃=" # Some more - [[[[[[[[[1,0],0],0],0],0],0],0],0]]
  • f # Flatten list - [[1,0,0,0,0,0,0,0,0]]
  • B # Convert from base 2 - [256]
  • ```
  • ```
  • `≬„¾⅛` # Push string
  • `≬‡„↵¼¾⅛□‟₅` # Push other string
  • β # Convert a from custom base b
  • ```
  • ```
  • «Þ« # Push compressed string - [`e `]
  • 3 # Push 3 - [`e ` 3]
  • ɽ # Range [1..a) - [`e ` [1,2]]
  • G # Maximum of a - [`e ` 2]
  • «ƈ« # Push compressed string - [`e ` 2 `ee`]
  • 3ɽG3ɽG3ɽG # Some more 2s - [`e ` 2 `ee` 2 2 2]
  • p # Prepend - [`e ` 2 `ee` 2 22]
  • pppp # A few more times - [`222ee2e `
  • Ṅ # Separate by spaces - [`2 2 2 e e 2 e `]
  • Ė # Evaluate as Vyxal code - [256]
  • ```
#1: Initial revision by user avatar Aaron Miller‭ · 2021-06-17T20:52:22Z (almost 3 years ago)
# [Vyxal](https://github.com/Lyxal/Vyxal), 20 solutions
                    

[Try them Online!](http://lyxal.pythonanywhere.com?flags=&code=%E2%82%88%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A256%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%87d%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%864*%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%5C%C4%80C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%87%A7%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%80%B9%E2%82%B4%E2%87%A7%E2%87%A7%E2%87%A7%E2%82%B4%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%C2%A4%2C%E1%B9%A0_%0A%E2%80%BA%E2%80%BAS%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%3F%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BA%E2%80%BASJ%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A8E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%82%80%E2%87%A9%C7%8D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%EA%9C%9D%E2%82%8C%C8%A7%C8%A7%E2%82%8C%E2%86%B2%E2%86%B2~%E2%86%B2e%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0Au%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90u%E2%8C%90%C3%97%C3%97%C3%97%C3%97%C3%97%C3%97%C3%97W%E1%B9%84%C4%96%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0Ak%C2%B6%C2%BD%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%A4%E2%82%81%2BH%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%AC%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%3A%E1%B9%A0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C2%BB%C6%9BN%C2%BB%E2%88%86K%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%80%9B%CE%BB%E1%B8%A2mmmmmL%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A.%20.%2FI%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C3%B8%E1%B9%81%C2%B2%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%E2%81%BA%E1%B9%A1%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_%0A%C7%8E%C7%8E0%E2%82%840%E2%82%840%201----%C7%8E--%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2C%E1%B9%A0_&inputs=&header=&footer=)

The programs are meant to be run individually, so the `,Ṡ_` is just there to emulate implicit output and clear the stack. You can try any solution individually to verify.

I gave myself the challenge of doing this without looking at any other answers, and I'm pretty happy with how it turned out!

Here's explanations for each program. In the more complicated ones, `[stuff]` at the end of the line indicates the current stack.

**Note: Two programs have a space in them, but that is only for readability and formatting. In either program, the space could be replaced with a linefeed and it would still function the same.**

```
₈  # Push 256
```
```
256  # Push 256
```
```
₇d  # 128 * 2
```
```
₆4*  # 64 * 4
```
```
\Ā   # Push 'Ā'
  C  # To ordinal value
```
```
⇧₴           # Increment 2 and print
  ⇧⇧⇧‹₴      # Increment 6, decrement, and print
       ⇧⇧⇧₴  # Increment 6 and print
```
```
››                    # Increment 2 - [2]
  S                   # To string - [`2`]
   ?                  # Get input. No input, so push 0 - [`2` 0]
    ›››››S            # Increment 5, to string - [`2` `5`
          J           # Join with last string - [`25`]
           ?››››››SJ  # Again, incrementing to 6 - [`256`]
```
```
8E  # 2 ** 8
```
```
₀   # Push 10
 ⇩  # Decrement 2
  Ǎ # 2 ** 8
```
```
ꜝ           # Bitwise not - [-1]
 ₌ȧȧ        # Parallel apply absolute value and absolute value - [1 1]
    ₌↲↲     # Parallel apply 'a << b' and 'a << b' - [2 2]
       ~↲   # Do 'a << b' without popping the stack - [2 2 8]
         e  # Exponentiate - [2 256]
```
```
u                           # Push -1 - [-1]
 ⌐                          # 1 - a - [2]
  u⌐u⌐u⌐u⌐u⌐u⌐u⌐            # Several more times - [2 2 2 2 2 2 2 2]
                ×           # Push '*' - [2 2 2 2 2 2 2 2 `*`]
                 ××××××     # Several more times - [2 2 2 2 2 2 2 2 `*` `*` `*` `*` `*` `*` `*`]
                       W    # Wrap stack - [[2,2,2,2,2,2,2,2,`*`,`*`,`*`,`*`,`*`,`*`,`*`,`*`]]
                        Ṅ   # Join by spaces - [`2 2 2 2 2 2 2 2 * * * * * * *`]
                         Ė  # Evaluate as Vyxal code - [256]
```
```
k¶½  # 512 / 2
```
```
¤     # Push empty string - [``]
 ₁    # Push 100 - [`` 100]
  +   # Add - [`100`]
   H  # Convert to base 16 - [256]
```
```
¬                  # Not - [1]
 :                 # Duplicate - [1 1]
  Ṡ                # Sum of stack [2]
   :Ṡ              # Repeat - [4]
     :Ṡ            # [8]
       :Ṡ          # [16]
         :Ṡ        # [32]
           :Ṡ      # [64]
             :Ṡ    # [128]
               :Ṡ  # [256]
```
```
»ƛN»    # Push compressed number 332
    ∆K  # Sum of proper divisors
```
```
‛λḢ        # Push dictionary word 'business'
   m       # Palindromize - [`businessssenisub`]
    mmmm   # A few more times - [`BigLongStringOfCharacters`]
        L  # Length of string
```
```
!                           # Length of stack - [0]
 !                          # Length of stack - [0 1]
  !                         # Length of stack - [0 1 2]
   ...Many, many, more...
                         !  # Length of stack - [0 1 2 .. 256]
```
```
.               # Push 0.5 - [0.5]
  .             # Push 0.5 - [0.5 0.5]
   /            # Divide - [1.0]
    I           # To int - [1]
     øṁ         # a + palindromized(a) - [2]
       øṁ       # Again - [4]
         øṁ     # [8]
           øṁ   # [16]
             ²  # Squared - [256]
```
```
⁺ṡ  # 101 + codepage value of 'ṡ' (0x9B)
```
```
ǎ                 # ath prime - [2]
 ǎ                # ath prime - [5]
  0               # Push 0 - [5 0]
   ₄              # Push 26 - [5 0 26]
    0₄0 1         # Some more numbers - [5 0 26 0 26 0 1]
         -        # Subtract - [5 0 26 0 26 -1]
          -       # [5 0 26 0 27]
           -      # [5 0 26 -27]
            -     # [5 0 53]
             ǎ    # ath prime - [5 0 251]
              -   # Subtract - [5 -251]
               -  # Subtract - [256]
```