# Tag Info

### What are the five most powerful characters in your language?

Python3, 21 27 values Characters: 3479% Unique numbers: [1,2,3,4,5,6,7,8,9,11,12,19,20,21,24,29,34,35,36,37,39,43,46,47,49,73,74]...
• 3,762

### What are the five most powerful characters in your language?

Python, 18 numbers 237#- Produces as valid results: 1, 2, 3, 4, 5, 7, 16, 23, 24, 25, 27, 32, 35, 37, 69, 71, 72, 73 EDIT: ...
• 12.7k

### Golf bit weaving

Python 2.7, 44 -> 36 bytes lambda x:x/4&42|x*2&128|x*4&84|x/2&1
• 1,241

### What are the five most powerful characters in your language?

05AB1E, 27 38 41 numbers 4·>Ìn Generates the unique numbers: ...
• 53k

• 3,849

### Greater than less than greater than something fishy

><>, 26 + 4 = 30 bytes l22pirv 1+$2po>:3%::2g:n$- Try it online! +4 bytes for the -s= flag - if just ...
• 61.9k

### What are the five most powerful characters in your language?

Java 8, 2 4 numbers n->12 // returns 12 n->21 // returns 21 n1->2 // returns 2 n2->1 // returns 1 Weren't expecting a Java answer, were you? This ...
• 1,306

### Alphabetically permute a string

Jelly, 5 bytes ṢŒ!QY Try it online! Explanation ...
• 105k

### Levi-Civita symbol

Jelly, 5 bytes ṁ4IṠS Try it online! Algorithm Let's consider the differences j-i, k-j, i-k. If (i, j, k) is a rotation of (1, 2, 3), the differences are a ...
• 210k

Python 3, 46 bytes, Lynn lambda x0223334566789:(x0223334566789*89)//178
• 22.1k
Accepted

### Ethan Finds the Maximum Element

APL (Dyalog Unicode), 5 3 bytes ⍳⊥× Try it online! Adám gave me an inspiration to golf this further. How it works ...
• 77k

### Deranged !Combinatorics: Compute the Subfactorial

Funciton, 336 bytes Byte count assumes UTF-16 encoding with BOM. ...
• 197k

### Output an Anagram! No Not That One!

Python 3, 64 bytes lambda a:[*{*permutations(a[0])}-{*a}][0] from itertools import* Try it online!
• 42.4k

### Faro shuffle an array

vim, 62 59 54 qrma50%mb:norm@q<cr>ggqOjdd'apjma'b@q<esc>0"qDJ<C-a>D@"i@r<esc>xxdd@" Wow. This is possibly the hackiest thing I've written ...
• 71.5k

### Antsy permutations

Pyth, 7 bytes /y+_QQS Try it online. (Only small test cases are included due to exponential run-time.) Outputs 2 for Truthy, 0 for Falsey. ...
• 145k

### Counting from 1 to n without any consecutive numbers

Mathematica, 58 bytes, polynomial(n) time Abs[Sum[(k-1)Hypergeometric2F1[k,k-#,2,2](#-k)!,{k,#}]-1]& How it works Rather than iterating over permutations ...
• 39.7k

### Ethan Finds the Maximum Element

Jelly, 6 bytes RU×\S: Try it online! Let's analyze under which scenarios this algorithm works. If the maximum element is at the end of the list, this obviously ...
• 42.4k

### The Permutation Pigeon-hole Principle

Brachylog, 21 bytes :1fz:da|,[] :2a#d :Am Try it online! Try it online! Predicate 0 (main predicate) ...
• 49.8k

### Sheffle tho vawols ureund!

R, 92 91 Can't comment yet so I'm adding my own answer albeit very similar to @Andreï Kostyrka answer (believe it or not but came up with it independently). ...
• 3,493
Accepted

### Find a binary needle in a decimal haystack

05AB1E, 10 8 bytes Takes the needle in binary to save 1 byte. -2 bytes thanks to Emigna œJÙʒbŒIå Try it online! ...
• 2,014

### Greater than less than greater than something fishy

CJam, 16 bytes l_,),.\'</Wf%'<* Try it online! A port of my Retina answer. Explanation ...
• 197k

### Prime factors buddies

PowerShell v3+, 450 bytes ...
• 43.4k

### What are the five most powerful characters in your language?

Brachylog, 26 numbers 3+*^- This outputs the following numbers: ...
• 38.9k

### What are the five most powerful characters in your language?

JavaScript, 27 numbers Very similar to TuukkaX's answer, with another set of digits. 5789% The 27 distinct values are: ...
• 193k

### Super permutations

Scratch 3.0, 65 blocks / 637 632 bytes Look at y'all, having fun with your fancy shmancy permutation functions/map tools. Well, not I! No, not I! When using Scratch, one has to do things themselves! ...
• 33.6k

### Is this a Permutation of 1..n

Risky, 7 bytes 7 bytes and a palindrome 1_??!0:0!??_1 Try it online! Explanation ...
• 7,281

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