Theory and software implementations of Shor's r-algorithms - P. I. Stetsjuk (Cybernetics and Systems Analysis, 2017)