r/AskProgramming • • 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?

2 Upvotes

32 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Jun 05 '26

[deleted] — view deleted comment

1

u/Used_Astronomer6483 Jun 05 '26

Ok, I may have understood now, but how is it useful? How do you know that 221 is invalid but 32 is actually valid?

0

u/[deleted] Jun 05 '26

[deleted] — view deleted comment

1

u/Used_Astronomer6483 Jun 05 '26

Ok, thanks you I understand, but I do not think it is useful for what I am actually trying to do