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?
3
Upvotes
View all comments
Show parent comment
3
u/Used_Astronomer6483 Jun 05 '26 edited Jun 05 '26
Almost, here's an example for 5 digits: list of accepted numbers(you can take the digit on the right to put it on the left as many time as you want, without seeing the same number as one of the accepted numbers list): 0. 00000 yes
And also, some of these are not rotationally asymetric with five digits, but will be rotationally asymetric with more digits, the reverse is also true