Maybe I should just be content with ATaco's hardcoded solution. But at the same time, I feel like I shouldn't settle with a solution that doesn't really do the task at hand.
If this is the case, I might as well rip the solution off of OEIS and maybe port it to avoid duping the language. I don't feel like that's really solving the challenge either.
Somebody please find another graph and tell me I'm wrong
that's true but I mean I've stayed up later due to school, and I wake up later than during the school year by enough that I'm getting more sleep than during school year
@ATaco well you could by framing me for some SE thing and getting my account banned, which would cause me to go to sleep earlier because I can't use PPCG
Oh no! There are a bunch of meteoroids on my way through the universe ... what am I and my space ship, the SP4C3, supposed to do?
I need to manoeuver my shuttle through these rocks or I am done for!
Your Task
Write a program that guides my shuttle through a map of asteroids, using as few bytes...
Background
It can be shown that for any integer k >= 0, f(k) = tan(atan(0) + atan(1) + atan(2) + ... + atan(k)) is a rational number.
Goal
Write a complete program or function which when given k >= 0, outputs f(k) as a single reduced fraction (the numerator and denominator are coprime).
Test ...
A while ago I started a bit of a personal experiment and stopped using the sandbox for most of my questions. I think this experiment has given me a new perspective on the sandbox, that I would like to share.
The sandbox is problematic. Many users feel that they can't get the necessary feedback...
When you delete your sandbox answer (question), if it has a score of 3 or more, you get the badge 'Disciplined' on meta.
I know it's supposed to do this, but it does not really make sense for the sandbox, so I'm requesting it to be removed on the sandbox.
Words crossing over
code-golfstringascii-art
Input:
Two strings.
Output:
Both words/sentences start on lines with one empty line in between them. They 'walk' horizontally 'next to each other'. But when they have the same character, they cross each other, and then continue walking 'next to ea...
I have a bit of unclarity in regards to how we should count bytes in TeX. In general, coding in TeX is done through macros, introduced by the escape character. for examples \read16 is the macro which takes stdin.
I would like to know if we could count that as 1 byte for the following reason.
T...
@Mayube would be HK, but as SOGL wraps around the array when I/H (rotate clockwise/counter-clockwise) is used it only works when all number lengths are equal
Related.
The ASCII Composer
code-golf ascii-art
Back in the days, where beautiful 300 DPI printing was not invented and computers started getting popular, composers were intrigued to try making their compositions visible on the computer screen.
Your Task
Given an input of notes, output a s...
Short Message Service (SMS) is a text messaging service component of most telephone, World Wide Web, and mobile telephony systems. It uses standardized communication protocols to enable mobile phone devices to exchange short text messages. An intermediary service can facilitate a text-to-voice conversion to be sent to landlines. SMS was the most widely used data application, with an estimated 3.5 billion active users, or about 80% of all mobile phone subscribers, at the end of 2010.
SMS, as used on modern handsets, originated from radio telegraphy in radio memo pagers that used standardized phone...
@Cowsquack Yes, but technically, APL is shorter there. Jelly uses a constant (equivalent to the non-exiting ⎕e), while Jelly's equivalent of APL's monadic * is two bytes: Æe, so you need 1Æe.