Help me make an algorithm! (DFD)?
An algorithm that can tell if the number you imputed is a friendly number and with what number it is friendly
THANKS A BUNCH.
- Anonymous1 decade agoFavorite Answer
I'd never heard of friendly numbers before, but I just checked out the Wikipedia page, and it sounds like your algorithm is supposed to determine if a number is solitary or not. Wikipedia says "no general method is known..." so it sounds like you're out of luck unless you're happy about semidecidability, which you're probably not (no one would be).
p.s. what class is this for? theory of computation? If so, maybe you do want to come up with an algorithm...hmmm...sounds fun, but tedious. Good luck!