4 votes

X Steps Forward, 1 Step Back

Vyxal, 6 bytes ½ɾ∑:∷+ Try it Online! Now flagless, thanks to emanresu A's suggestion. This ties with their solution, though this is less clever. I just like the <...
noodle man's user avatar
  • 6,863
4 votes

X Steps Forward, 1 Step Back

PowerShell Core, 26 bytes 0 for(){($c+=++$i) (--$c)} Try it online! Output the sequence indefinitely
Julian's user avatar
  • 3,018
4 votes

X Steps Forward, 1 Step Back

Vyxal, 6 bytes Þnuv∴¦ Try it Online! Outputs an infinite list. ...
emanresu A's user avatar
  • 37.8k
4 votes

X Steps Forward, 1 Step Back

Uiua, 10 bytes +◿2./+⇡⌊÷2 Try it Based on Shaggy's Japt. Explanation: ⌊÷2 Floor divide by 2 ...
noodle man's user avatar
  • 6,863
3 votes

Borders of a Rectangular Matrix

JavaScript (Node.js), 47 bytes m=>m.slice(1,-1).map(x=>x.splice(1,x.length-2)) Try it online! Modify the input
l4m2's user avatar
  • 23.8k
2 votes

Basic ASCII Tallies

Uiua, 61 60 59 bytes ≡(&p""≡&p⊏:"/| "/≡(⊂⊂:2))⬚2↯∞_10_4_4⊂↯:⇌⊞≠.⇡4:↯4+1≤⇡4:⌊⊃÷◿5 Try it I think there is likely a somewhat shorter ...
noodle man's user avatar
  • 6,863
1 vote

Pretty Palintiples

05AB1E, 9 bytes µNѨíNåD– Try it online. Explanation: ...
Kevin Cruijssen's user avatar
1 vote

Pretty Palintiples

Uiua, 23 bytes SBCS Try on Uiua Pad! Prints indefinitely. ⍥(+1⍥⟜&p∊:×4_9⍜°⋕⇌..)∞1 Explain: ...
Zylviij's user avatar
  • 470
1 vote

Reversed Squares

PowerShell, 84 bytes $m=[math];if($m::sqrt($_)%1-eq0){return $m::sqrt($_[-1..-$_.length]-join'')%1-eq0}!1 Try it online!
James Flores's user avatar
1 vote

Borders of a Rectangular Matrix

Uiua SBCS, 13 bytes ⊡⊚↥⇌≡⇌.≡∊0⇡△. Try it! Port of Adám's APL answer. ...
chunes's user avatar
  • 24k
1 vote

Decipher a squashed sequence

Swift 5.9, 143 134 bytes ...
macOSisthebestOS's user avatar
1 vote

Decipher a squashed sequence

Haskell + hgl, 22 bytes glk$my ν@~(mF eq1<δ) Attempt This Online! Explanation glk get the last complete parse (the first ...
Wheat Wizard's user avatar
  • 98.5k
1 vote

How far from binary?

Pip, 17 bytes W1<Ma-ii:i<0-:Uii Attempt This Online! Explanation I went through quite a few different approaches before settling on this one. Interesting ...
DLosc's user avatar
  • 39.2k
1 vote

Ginormous number

Vyxal, 37 bytes »°øḊ⟩√ɾ§»₄τ₀ʀ13+₁*+₀*∆ṖΠf›¦‹ǎΠf:ẏǎ$eΠ Try it Online! Directly implements the algorithm. ...
emanresu A's user avatar
  • 37.8k
1 vote

1, 2, 4, 8, 16, ... 33?

Pip, 23 bytes Y1RL5LayPB$+:y*RyH-3y@a Uses 1-indexing. Attempt This Online! Explanation The program uses 1-indexing because it actually computes the following 0-...
DLosc's user avatar
  • 39.2k
1 vote

Is this number evil?

Easyfuck, 23 19 17 bytes Ì£î␅␏MW¼R¥␕¼×_f|µ8 due to lack of unicode representations for c1 control characters, they have been replaced by their superscripted abbreviations Decompressed: ...
Quadruplay's user avatar
1 vote

count ones in range

J-uby, 26 bytes :!~|:sum+(~:digits&2|:sum) Attempt This Online!
Jordan's user avatar
  • 10.1k
1 vote

Golf a number bigger than TREE(3)

(0,0,0)(1,1,1)(2,2,1)(3,0,0)[1000] (SDO \$\psi(C(1\{\omega\}0))\$), 622 bytes This is my first time on Stack Exchange, but I saw this post some time ago and I finally managed to make this. It ...
Polymations's user avatar
1 vote

How high can you count?

Desmos, score 12 13, 80 bytes \n\{\} 0!+0! lneee 2^2 5 6 7 8 9 3*3.333333333333 11 4--4--4 count(a,a,a,a,a,a,a,a,a,a,a,a,a) \n ...
Yousername's user avatar
  • 4,020
1 vote

Is this number triangular?

Uiua, 6 bytes ∊:\+⇡. Try it Is the input a member of taking the cumulative sums of the range of 0 to the input?
noodle man's user avatar
  • 6,863
1 vote

Natural construction

BrainPipe, 185 161 bytes ...
jan's user avatar
  • 311
1 vote

Natural construction

JavaScript (Node.js), 26 bytes f=n=>n?[...f(--n),f(n)]:[] Try it online! Why not
l4m2's user avatar
  • 23.8k
1 vote

Natural construction

Uiua, 33 characters m←|1⟨""|$"_{_}".m-1⟩↧1. f←$"{_}"m Try it here!
jan's user avatar
  • 311
1 vote

Print all integers

Swift 5.9, 32 bytes (0...).map{print($0) print(~$0)} I tried desperately to merge the two calls to ...
macOSisthebestOS's user avatar
1 vote

Print all integers

Uiua, 18 bytes ⍥(+⟜⊃±∵&s)∞¯1_1&s0 Explanation: ...
Zylviij's user avatar
  • 470
1 vote

As Easy as One-Two-Three

Pip, 8 bytes ^a=@a+,3 Attempt This Online! Explanation ...
DLosc's user avatar
  • 39.2k
1 vote

As Easy as One-Two-Three

JavaScript (Node.js), 17 bytes n=>n==n[0]*111+12 Try it online!
l4m2's user avatar
  • 23.8k
1 vote

As Easy as One-Two-Three

Scratch, 70 69 bytes A simple question - a simple answer. 1 byte has been golfed away following the kind suggestion of Dlosc. Pseudocode: ...
Patric's user avatar
  • 130
1 vote

Print numbers from 1 to 10

TECO, 9 bytes ` is interpreted as ASCII 27, ESC. Assume current buffer is empty. 10<I1`Z=> Which outputs ...
LdBeth's user avatar
  • 313
1 vote

Print numbers from 1 to 10

awk - doing it the grade school arithmetic approach the OP only said "arbitrary separators" - so empty string ("") in between the numbers ...
RARE Kpop Manifesto's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible