# Tag Info

### Draw me a domino

Python 2, 101 97 92 68 64 bytes lambda*a:[[[n>3,n>5,n>1],[n>7,n%2,n>7],[n>1,n>5,n>3]]for n in a] Try it online! Credits Reduced from 101 ...
• 2,525

### Triangular domino tiling of an almost regular hexagon

APL (Dyalog Classic), 14 bytes ×/1+1÷1+∘,1⊥¨⍳ Try it online! Uses 0 indexing with ⎕IO←0. Explanation: ...
• 47.2k

### Draw me a domino

C (gcc), 252 242 269 262 241 235 220 bytes I was on stack overflow for sockets in python, when this popped up, said why not? first code golf, so i'm not entirely sure if I followed the rules 100% (...

• 15.3k

### Triangular domino tiling of an almost regular hexagon

Wolfram Language (Mathematica), 28 bytes Array[1+1/(##-2)&,#,1,1##&]& Try it online!
• 48.5k

### Triangular domino tiling of an almost regular hexagon

Haskell, 44 bytes foldr(\r k->k+k/(sum r-2))1.mapM(\n->[1..n]) Try it online! Outputs floats. Thanks to @H.PWiz for 4 bytes using a fold.
• 145k

### Triangular domino tiling of an almost regular hexagon

05AB1E, 13 11 bytes L.«â€˜OÍz>P Try it online or verify all test cases. Explanation: Uses the derived formula (inspired by @JoKing's answers): PL(x,y,z) = \...
• 127k

### Domino Recurrence Generator

APL (Dyalog Unicode), 72 bytes {⍵=1:⍳2⋄(2*⌈⍵÷2)(⌷⌹⍉⍤↑)⍉L↑⍉↑,¨+.×\(L←2*⍵)⍴⊂∘.((0∊+)⍱1∊2|×≢¨⍤⊆⊣)⍨⍸1⍴⍨⍵⍴2} Try it online! (uses a polyfill for ⍤ since TIO is not ...
• 16.3k

### Counting polydominoes

Ruby, 266 250 242 bytes ...
• 22.1k

### Longest domino chain

Mathematica, 191 bytes ...
• 15.8k

### Longest domino chain

Brachylog, 29 bytes v0|sp:{|r}aLcbk@b:{l:2%0}a,Ll Try it online! Pretty sure this is awfully long, but whatever. This is also awfully slow. Explanation ...
• 38.8k

### Draw me a domino

APL (Dyalog), 25 bytes 2∘|(3 3⍴⊢,,∘⌽)¨>∘3 5 1 7¨ Try it online! -2 thanks to ngn. The output format is a little bit weird: this function returns an array ...
• 40.6k

### Draw me a domino

C (gcc), 115 113 bytes -2 bytes thanks to ceilingcat ...
• 4,373

### Topple some dominoes!

V, 23 bytes òÓ¯À<!|¨Ü©ü¨¯©|ÜÀ!/±±²² Try it online! Really, this is very similar to the retina answer, just that it looks uglier. Uses regex compression. ...
• 59.3k

### Topple some dominoes!

SNOBOL4 (CSNOBOL4), 117 115 112 111 bytes ...
• 28.6k