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?

3 Upvotes

32 comments sorted by

View all comments

Show parent comment

1

u/Used_Astronomer6483 Jun 06 '26

It's hum... incredible as you fixed my problem, but to be honest, il do not use Java script, so I do not understand anything 😅 But thank you thought really, I would have struggled à long time without your help! 👍

2

u/HaLo2FrEeEk Jun 06 '26

😔I never learned Python, somehow. I can sorta make my way around with it if I need to, but I'm far more familiar with Javascript. Hopefully you were able to get the essence of what I was doing and you're able to translate it into whatever environment you're using. I can also help if you have any questions. You nerd sniped me, I ended up tinkering around with this for like 2 hours lol.

1

u/Used_Astronomer6483 Jun 06 '26

That's also what reddit is made for