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

Return to Answer

Commonmark migration
Source Link

##Ruby, 47 bytes

Ruby, 47 bytes

->b{!("%b"%(b/2)=~/0/||(2...b).find{|a|b%a<1})}

##Ruby, 47 bytes

->b{!("%b"%(b/2)=~/0/||(2...b).find{|a|b%a<1})}

Ruby, 47 bytes

->b{!("%b"%(b/2)=~/0/||(2...b).find{|a|b%a<1})}
Source Link
G B
  • 23.4k
  • 1
  • 24
  • 55

##Ruby, 47 bytes

->b{!("%b"%(b/2)=~/0/||(2...b).find{|a|b%a<1})}

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