Quantcast
Channel: All about basic binary - Code Golf Stack Exchange
Viewing all articles
Browse latest Browse all 23

Answer by Shaggy for All about basic binary

$
0
0

Japt-R, 11 bytes

õ2 f@ìX e§1

Try it

õ2 f@ìX e§1     :Implicit input of integer Uõ2              :Range [2,U]   f            :Filter by    @           :Passing each X through the following fuctionìX         :  Convert U to base X digit array        e       :  All§1     :    <=1                :Implicit output, joined with newlines

Viewing all articles
Browse latest Browse all 23

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>