Share Your Experience: Take the 2024 Developer Survey

# Tag Info

### Print numbers from 1 to 10

C, 36 bytes main(i){while(printf("%d ",i++)<3);} This works because the loop terminates after the first 2 digit number.
• 5,529

### The first n numbers without consecutive equal binary digits

Python 2, 36 bytes lambda n:[2**i*2/3for i in range(n)] Try it online! Explanation: The binary representation of $\frac{2}3$ is ...
• 171k

### Fibonacci-orial

Mathematica, 10 bytes Fibonorial Another Mathematica built-in soundly beaten by a golfing language without the built-in.
• 197k

Jelly, 10 bytes 9s3’Ẓæ*³FṀ Try it online! 1-indexed. Computes the largest element of: \begin{bmatrix}0&0&1 \\ 1&0&1 \\ 0&1&0\end{...
• 68.7k

### Count up folks!

MarioLANG, 29 bytes ; ) < +====" >:(-[! =====# Try it online! I know my code is sadly super-sad or angry: >:( Happy MarioLANG, 46 bytes ...
• 40.6k

### Print numbers from 1 to 10

HTML, 44 bytes <ol><li><li><li><li><li><li><li><li><li><li> This is longer than ...
• 10.3k

### Absolute Sums of Sidi Polynomial Coefficients

Python 2, 43 bytes f=lambda n,k=1:k/n or n*f(n,k+1)+k*f(n-1,k) Try it online! A different approach Ever since I posted this challenge, I tried to come up with a ...
• 210k

• 107k

### Bit run rundown

Python 2, 46 45 bytes f=lambda n,k=1:kin bin(n^n/2)and-~f(n,k*10) Try it online! How it works By XORing n and n/2 (dividing by 2 essentially chops off the ...
• 210k

### Oddly Even, Positively Negative

Python 2, 23 bytes lambda n:~n/2+n%2*(n|2) Odd inputs give roughly n/2, even ones roughly ...
• 145k

### Print all lexicographically increasing numbers under 10000

Python 2, 56 bytes for n in range(9999): if eval('<'.join(n))**n:print n Try it online! Converts each number like 124 ...
• 145k

### What's this constructed number's starter?

05AB1E, 7 5 4 bytes >9*н Try it online! ...
• 15.7k