Newest Questions
14,482 questions
-4
votes
3
answers
27
views
Internationalisation -> I18n (numeronym)
Golf a function returning the numeronym for a sequence of 3+ letters, preserving case.
-2
votes
0
answers
56
views
Compression Challenge [closed]
Kind of a simple one
What's the best string compression algorithm you can write? Rewards are scored by (c/C)/L, where c is the ...
0
votes
2
answers
106
views
Create an autoclicker for Bands and Bonds
Bands and Bonds is a browser clicker game about delving in a dungeon. It has the particularity that only one of the actions you may take can be auto-repeated at the same time: You may start several ...
5
votes
0
answers
107
views
Divide 1 by a sum/difference of square roots
Divide 1 by a sum/difference of square roots
Input: An expression that is a sum/difference of square roots of positive integers. You can assme it will not equal 0.
The general form is \$\pm\sqrt{a_1}\...
5
votes
4
answers
296
views
DNA reading frame
DNA is read in groups of three nucleotides (the letters you see in a sequence), called codons, for determining what protein sequence the portion of DNA will yield. I already used this in a previous ...
6
votes
7
answers
595
views
Parse rpip7 musical notation
Parse rpip7 musical notation
rpip7 is a minimalist music notation derived from ip7, designed for simple playback (for example, on an Arduino with a buzzer).
It supports only these symbols:
...
20
votes
14
answers
873
views
A yet-unlisted sequence
I was looking for a simple sequence that's not yet referenced on the OEIS and came up with this one(*):
\$a_1=2\$
\$a_2=3\$
For \$n>2\$, \$a_n\$ is the smallest number of the form \$a_i\times a_j+...
13
votes
16
answers
994
views
Compute the NFL passer rating
Each quarterback in the NFL is given a passer rating at the end of the game, which measures how good their forward passes were. It is not strictly a basic arithmetic formula, and is calculated as ...
-3
votes
0
answers
116
views
Create a string satisfying a set of include/exclude/length constraints
Send a message containing "ZCKJSGLZD" ensuring the text length is not 9 and text length is at maximum 25 and text length is at minimum 11 and text length is at minimum 11 and text length is ...
9
votes
8
answers
689
views
Closest Palindromic Number with Matching Smallest Valid Base
An extension of Find the closest palindromic number mixed with Numbers Interpreted in Smallest Valid Base.
A number is a palindrome if its sequence of digits is the same when reading them from left to ...
13
votes
16
answers
1k
views
Rebase Until Inert
This is a sequel to Numbers Interpreted in Smallest Valid Base.
Let us define the operation of rebasing a number as writing out its digits in decimal form, then interpreting them in the smallest base <...
19
votes
13
answers
2k
views
Interpret G-code
G-code is a set of instructions used to manipulate machines in CNC, 3d printing, or other similar applications. It controlls the position of a tool, manuvering it to create a path.
Your goal is to ...
20
votes
30
answers
1k
views
Numbers Interpreted in Smallest Valid Base
Let us define the operation of rebasing a number as writing out its digits in decimal form, then interpreting them in the smallest base N possible (...
-5
votes
14
answers
402
views
Text Flattening Program
Input: A string, can be multi-line. The newlines must to be real newline (e.g., you cannot request that each newline be (n)). There is another input, a number (not ...
8
votes
2
answers
245
views
The Mind: King of the Hill Edition
Sandbox
In this king-of-the-hill challenge, you will be playing a variant of the popular game The Mind.
In this variant, every round, a deck of K cards labeled 1 - K are shuffled, and hands of size N ...