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 Is this number triangular?

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited Community Bot
Commonmark migration
May 22, 2017 at 22:20 comment added ETHproductions It qualifies as "two constant, distinct outputs", so yes. Other decision-problem challenges may require truthy/falsy though.
May 22, 2017 at 22:18 history edited Shaggy CC BY-SA 3.0
added 102 characters in body
May 22, 2017 at 22:15 comment added Shaggy @ETHproductions: OK, as long as you're allowing it. Is doing so normally permitted, though?
May 22, 2017 at 21:41 comment added ETHproductions I think you could save a byte with n=>(8*n+1)**.5%1>0 (which would reverse the outputs)
May 22, 2017 at 21:24 history edited Shaggy CC BY-SA 3.0
added 145 characters in body; added 290 characters in body
May 22, 2017 at 21:17 history answered Shaggy CC BY-SA 3.0

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