Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 36445

For challenges involving the manipulation of integers.

22 votes

Conway's Monster

Sledgehammer, 4 bytes 31 bits, to be overly specific please upvote the author of this awesome language instead of me ⣶⣖⡥⣕ (this is a very awesome Mathematica compressor, and it really excels at com …
the default.'s user avatar
  • 8,445
13 votes

Make an array of random 128 bit integers

x86-64 machine code, 10 bytes Fortunately, there is a built-in RNG. Requires the RDRAND instruction. 00000000: c1e1 020f c7f0 abe2 fac3 .......... Disassembled: shl ecx, 2 label: rdr …
the default.'s user avatar
  • 8,445
11 votes

Integers in cosine

Wolfram Language (Mathematica), 25 bytes This uses a trick: Mathematica doesn't expand Sin[51819] into a proper number even when Max is called on a list of such things, and because of how Last works, …
the default.'s user avatar
  • 8,445
6 votes

Narcissistic loop lengths

Jelly, 12 bytes I wonder if this is the same as caird's answer (it probably isn't, because the control flow here almost certainly can be simplified by anyone who actually knows Jelly, or perhaps even …
the default.'s user avatar
  • 8,445
4 votes

Generating generating expressions for sequences

Wolfram Language (Mathematica), 50 49 37 bytes Returns a polynomial. Mathematica is so awesome x+1 can be used as a variable in this context. Apart is a weird built-in that, quoting from the docs, see …
the default.'s user avatar
  • 8,445
3 votes

(RGS 1/5) Binary multiples

C# (Visual C# Interactive Compiler), 53 49 bytes turns out Max can cast chars to codes implicitly I tried a recursive version, but it was longer. Can't think of a way to replace the loop with LINQ.. …
the default.'s user avatar
  • 8,445
2 votes

Computing a specific coefficient in a product of polynomials

Sledgehammer, 6 bytes ⣈⠲⡎⡒⢢⣑ Only works in the interactive app (that requires excessive amounts of tinkering to get it to actually decompress the Braille code itself, but it's possible), because of a …
the default.'s user avatar
  • 8,445
2 votes

Generate list of numbers and their negative counterparts

C# (Visual C# Interactive Compiler), 47 46 bytes Much shorter than the beautiful LINQ solutions with SelectMany :( I also cannot remember when I last wrote a for loop while code-golfing, so I likely …
the default.'s user avatar
  • 8,445
1 vote
Accepted

Integer Logarithm

Sledgehammer, 11 bytes Alternatively, 83 bits. I ended up forgetting to actually answer this with Sledgehammer for a while... ⣜⢍⡪⡱⣰⡵⠅⣧⣼⣅⣸ Compressed from this Wolfram Language code: If[NumberQ[ …
the default.'s user avatar
  • 8,445