CoCalc Public FilesPartialK.sagewsOpen with one click!
Author: Liljana Babinkostova
Views : 63
Compute Environment: Ubuntu 18.04 (Deprecated)
def partial (R, s, partd): m = 1000 E = m.powermod(s,R)#&^(m, s) % R for k in range(1, s + 1): Dk = math.floor((k * (R - 2 * isqrt(R) + 1) + 1) / s) l=(partd).ndigits() Dk=Dk-(Dk % 10^l)+partd mm = E.powermod(Dk,R)#E&^Dk mod R: if m == mm: return(Dk) print("not enough digits to discover d")
R=1030794365305576815134103206958049837943419896523; s=17873; partd=6816907735531628355014100526810177; Dd=partial(R,s,partd);
not enough digits to discover d
l