r/AskProgramming • u/Used_Astronomer6483 • Jun 05 '26
Algorythm for rotationally asymetrical binary numbers
Hello! I am struggling to code or find a programm that can automatically find all rotationally asymetrical binary numbers in a given digits range. It's been two weeks that I am searching now, do you have any advice or does anyone know how to do it?
4
Upvotes
View all comments
Show parent comment
2
u/justanaccountimade1 Jun 05 '26 edited Jun 05 '26
215 = 32768
A computer can test them all in about zero seconds.
You don't need to work in binary. You can use an array with 15 elements.