Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

added 19 characters in body
Source Link
Kevin Cruijssen
  • 136.2k
  • 14
  • 154
  • 394

05AB1E, 4 bytes (no header/footer)

1⁄43⁄4Åf

Try it online or verify the first ten iterations.

Explanation:

1⁄4 # Increase counter variable `3⁄4` by 1 (which is 0 by default)
 3⁄4 # Push counter variable `3⁄4`
 Åf # Pop and push the 0-based 3⁄4'th Fibonacci value
 # (after which the top of the stack is output implicitly as result)

05AB1E, 4 bytes

1⁄43⁄4Åf

Try it online or verify the first ten iterations.

Explanation:

1⁄4 # Increase counter variable `3⁄4` by 1 (which is 0 by default)
 3⁄4 # Push counter variable `3⁄4`
 Åf # Pop and push the 0-based 3⁄4'th Fibonacci value
 # (after which the top of the stack is output implicitly as result)

05AB1E, 4 bytes (no header/footer)

1⁄43⁄4Åf

Try it online or verify the first ten iterations.

Explanation:

1⁄4 # Increase counter variable `3⁄4` by 1 (which is 0 by default)
 3⁄4 # Push counter variable `3⁄4`
 Åf # Pop and push the 0-based 3⁄4'th Fibonacci value
 # (after which the top of the stack is output implicitly as result)
Source Link
Kevin Cruijssen
  • 136.2k
  • 14
  • 154
  • 394

05AB1E, 4 bytes

1⁄43⁄4Åf

Try it online or verify the first ten iterations.

Explanation:

1⁄4 # Increase counter variable `3⁄4` by 1 (which is 0 by default)
 3⁄4 # Push counter variable `3⁄4`
 Åf # Pop and push the 0-based 3⁄4'th Fibonacci value
 # (after which the top of the stack is output implicitly as result)

AltStyle によって変換されたページ (->オリジナル) /