Having perused the stackexchange, I found some similar questions, but am having difficulty understanding how to arrive at the solution to (n-1)*x=1 mod np, where:
n: Finite group order of the Bitcoin secp256k1 curve
n=115792089237316195423570985008687907852837564279074904382605163141518161494337
p: Prime order of the curve
p=115792089237316195423570985008687907853269984665640564039457584007908834671663
np: (n-1)+(p-1)
np=231584178474632390847141970017375815706107548944715468422062747149426996165998
and (n-1) is not coprime to modulo np.
Having performed the following step of np/2 and adding .5 to result one, so as to achieve:
F1=115792089237316195423570985008687907853053774472357734211031373574713498083000
Then subtracting the initial result with .5 to achieve:
F2=115792089237316195423570985008687907853053774472357734211031373574713498082999
And following instructions from answers to related posts, (n-1) is to be multiplicativeley inversed over mod F1 and F2. However, neither F1 or F2 are coprime to (n-1). In order to overcome this, it is explained that GCD and CRT are to be used in order to accurately calculate the modular inverse.
What steps are required and how are the operations performed to accomplish this?
Thank you.