Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for Chicken McNugget Numbers

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Oct 10, 2017 at 20:54 comment added Anders Kaseorg @FrownyFrog See this comment.
Oct 10, 2017 at 12:41 comment added FrownyFrog Shouldn’t you add ^1? It’s supposed to say true for CMNN.
Jul 18, 2017 at 1:39 comment added Jacob Garby Shame you can't easily use this same idea with base 64
Jul 16, 2017 at 20:45 comment added hyperneutrino @DavidZ Oh hm. That is very smart. Nice.
Jul 16, 2017 at 20:44 comment added David Z @HyperNeutrino the magic number has only those bits set which correspond to numbers that are not Chicken McNugget numbers. Look at its binary representation and it'll be much clearer.
Jul 16, 2017 at 20:08 history edited Anders Kaseorg CC BY-SA 3.0
−1 byte; deleted 4 characters in body
Jul 16, 2017 at 19:52 comment added Leaky Nun Also, 8953174650303 has the exact same length with 0x82492cb6dbf (albeit less readable).
Jul 16, 2017 at 19:52 comment added Leaky Nun You can remove the ~ because you can swap the outputs.
Jul 16, 2017 at 19:17 comment added hyperneutrino What is this magical code o_O this is amazing
Jul 16, 2017 at 19:04 history answered Anders Kaseorg CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /