Here is an example with modulus p=59 and the curve y^2=x^3:
1- x=29 y=9
2- 22 38
3 - 36 20
4 - 35 49
5 - 46 35
6 - 9 32
The curve y² = x³ (without a constant) is a singular curve. It has a cusp point. This is not a valid elliptic curve — its group of points is isomorphic to a simple additive/multiplicative group of the field. In such a group, the discrete logarithm is trivial — it reduces to ordinary division.
But Bitcoin uses y² = x³ + 7. This +7 makes the curve smooth (non-singular). A smooth elliptic curve has a group in which the DLP is hard. This is not a coincidence — Satoshi (or rather the SEC standard) chose +7 precisely for this purpose.
The transition from y² = x³ to y² = x³ + 7 is not a minor difference to overcome — it is a chasm between a trivial group and a cryptographically hard group. Formulas from one do not carry over to the other, because these are fundamentally different algebraic structures.
x1 = (((x**2 / (x**3).sqrt()) * Decimal("1.5")) ** 2) - (2 * x)
This uses Decimal and .sqrt() — floating-point numbers, a real square root. Elliptic curve cryptography lives in a finite field mod p — there is no real square root there, there is a modular square root (a completely different operation). This code does not operate on the Bitcoin curve. It computes some floating-point numbers that have no connection to secp256k1. This is not an attack — it is a misunderstanding dressed up as code.
I perfectly understand your work and I am not stopping you at all, but you must understand why this happens. The better path is to embrace Symmetry and study it. Here is a small demonstration:
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 1
--------------------------------------------------
Base k: 1
X: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
Y parity: Even (02)
Address: 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 57896044618658097711785492504343953926418782139537452191302581570759080747168
New X: 00000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
New Y parity: Odd (03)
Address: 1LVAsnUyEtJgZ9HzLfbtiJZuZMzHLX1n6k
--------------------------------------------------
MIRROR (n - k):
Key: 115792089237316195423570985008687907852837564279074904382605163141518161494336
X: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
Address: 1GrLCmVQXoyJXaPJQdqssNqwxvha1eUo2E
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 57896044618658097711785492504343953926418782139537452191302581570759080747168
--------------------------------------------------
Base k: 57896044618658097711785492504343953926418782139537452191302581570759080747168
X: 00000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
Y parity: Odd (03)
Address: 1LVAsnUyEtJgZ9HzLfbtiJZuZMzHLX1n6k
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 86844066927987146567678238756515930889628173209306178286953872356138621120753
New X: a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c
New Y parity: Even (02)
Address: 1N9Yhd1PFn77nzysRLhDFE8kLRDRZ98Sq1
--------------------------------------------------
MIRROR (n - k):
Key: 57896044618658097711785492504343953926418782139537452191302581570759080747169
X: 00000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
Address: 13see6qjfupx1YWgRefwEkccZeM8QGTAiJ
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 57896044618658097711785492504343953926418782139537452191302581570759080747169
--------------------------------------------------
Base k: 57896044618658097711785492504343953926418782139537452191302581570759080747169
X: 00000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
Y parity: Even (02)
Address: 13see6qjfupx1YWgRefwEkccZeM8QGTAiJ
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 28948022309329048855892746252171976963209391069768726095651290785379540373584
New X: a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c
New Y parity: Odd (03)
Address: 14W3eQPXrhFTxD8mFPrYx8wbUL3weu56JC
--------------------------------------------------
MIRROR (n - k):
Key: 57896044618658097711785492504343953926418782139537452191302581570759080747168
X: 00000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
Address: 1LVAsnUyEtJgZ9HzLfbtiJZuZMzHLX1n6k
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 115792089237316195423570985008687907852837564279074904382605163141518161494336
--------------------------------------------------
Base k: 115792089237316195423570985008687907852837564279074904382605163141518161494336
X: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
Y parity: Odd (03)
Address: 1GrLCmVQXoyJXaPJQdqssNqwxvha1eUo2E
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 57896044618658097711785492504343953926418782139537452191302581570759080747169
New X: 00000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
New Y parity: Even (02)
Address: 13see6qjfupx1YWgRefwEkccZeM8QGTAiJ
--------------------------------------------------
MIRROR (n - k):
Key: 1
X: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
Address: 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 2
--------------------------------------------------
Base k: 2
X: c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5
Y parity: Even (02)
Address: 1cMh228HTCiwS8ZsaakH8A8wze1JR5ZsP
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 115792089237316195423570985008687907852837564279074904382605163141518161494336
New X: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
New Y parity: Odd (03)
Address: 1GrLCmVQXoyJXaPJQdqssNqwxvha1eUo2E
--------------------------------------------------
MIRROR (n - k):
Key: 115792089237316195423570985008687907852837564279074904382605163141518161494335
X: c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5
Address: 1NjSB7UL4MtdjmPbTUfaHne9R5C2YGxUSA
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 3
--------------------------------------------------
Base k: 3
X: f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9
Y parity: Even (02)
Address: 1CUNEBjYrCn2y1SdiUMohaKUi4wpP326Lb
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 57896044618658097711785492504343953926418782139537452191302581570759080747167
New X: c62c910e502cb615a27c58512b6cc2c94f5742f76cb3d12ec993400a3695d413
New Y parity: Odd (03)
Address: 1AsPTrDFPaz6uYyuNgnmnrt8mEkfjYFmYq
--------------------------------------------------
MIRROR (n - k):
Key: 115792089237316195423570985008687907852837564279074904382605163141518161494334
X: f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9
Address: 1HjFHBmhUQkKntPPeWmiLiNGewRAMQWNYs
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 115792089237316195423570985008687907852837564279074904382605163141518161494335
--------------------------------------------------
Base k: 115792089237316195423570985008687907852837564279074904382605163141518161494335
X: c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5
Y parity: Odd (03)
Address: 1NjSB7UL4MtdjmPbTUfaHne9R5C2YGxUSA
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 1
New X: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
New Y parity: Even (02)
Address: 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
--------------------------------------------------
MIRROR (n - k):
Key: 2
X: c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5
Address: 1cMh228HTCiwS8ZsaakH8A8wze1JR5ZsP
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 115792089237316195423570985008687907852837564279074904382605163141518161494334
--------------------------------------------------
Base k: 115792089237316195423570985008687907852837564279074904382605163141518161494334
X: f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9
Y parity: Odd (03)
Address: 1HjFHBmhUQkKntPPeWmiLiNGewRAMQWNYs
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 57896044618658097711785492504343953926418782139537452191302581570759080747170
New X: c62c910e502cb615a27c58512b6cc2c94f5742f76cb3d12ec993400a3695d413
New Y parity: Even (02)
Address: 134yamsYAgAyWVr7z4KjH6h52UigkEnrL5
--------------------------------------------------
MIRROR (n - k):
Key: 3
X: f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9
Address: 1CUNEBjYrCn2y1SdiUMohaKUi4wpP326Lb
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 57896044618658097711785492504343953926418782139537452191302581570759080747167
--------------------------------------------------
Base k: 57896044618658097711785492504343953926418782139537452191302581570759080747167
X: c62c910e502cb615a27c58512b6cc2c94f5742f76cb3d12ec993400a3695d413
Y parity: Odd (03)
Address: 1AsPTrDFPaz6uYyuNgnmnrt8mEkfjYFmYq
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 28948022309329048855892746252171976963209391069768726095651290785379540373585
New X: e24ce4beee294aa6350faa67512b99d388693ae4e7f53d19882a6ea169fc1ce1
New Y parity: Odd (03)
Address: 1HiahXUfs71DnMfe2K5s7zcAidN4JqrytV
--------------------------------------------------
MIRROR (n - k):
Key: 57896044618658097711785492504343953926418782139537452191302581570759080747170
X: c62c910e502cb615a27c58512b6cc2c94f5742f76cb3d12ec993400a3695d413
Address: 134yamsYAgAyWVr7z4KjH6h52UigkEnrL5
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 57896044618658097711785492504343953926418782139537452191302581570759080747166
--------------------------------------------------
Base k: 57896044618658097711785492504343953926418782139537452191302581570759080747166
X: 5699b93fc6e1bd29e09a328d657a607b4155b61a6b5fcbedd7c12df7c67df8f5
Y parity: Even (02)
Address: 12NqA1nEZw2w2o2BrkmymQHDTMgcxBSH6w
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 86844066927987146567678238756515930889628173209306178286953872356138621120754
New X: 1b53b6cd7378ad80bfe00a7737f8fd1fc3a417fd80a5f334b1793e40d09ac841
New Y parity: Odd (03)
Address: 1PA6kemFfza7w7cWMeZqioyc95TipJTGPj
--------------------------------------------------
MIRROR (n - k):
Key: 57896044618658097711785492504343953926418782139537452191302581570759080747171
X: 5699b93fc6e1bd29e09a328d657a607b4155b61a6b5fcbedd7c12df7c67df8f5
Address: 1LtmtRzYDJLEw6cjoD8AxqzAsL4NEBvRab
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 57896044618658097711785492504343953926418782139537452191302581570759080747170
--------------------------------------------------
Base k: 57896044618658097711785492504343953926418782139537452191302581570759080747170
X: c62c910e502cb615a27c58512b6cc2c94f5742f76cb3d12ec993400a3695d413
Y parity: Even (02)
Address: 134yamsYAgAyWVr7z4KjH6h52UigkEnrL5
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 86844066927987146567678238756515930889628173209306178286953872356138621120752
New X: e24ce4beee294aa6350faa67512b99d388693ae4e7f53d19882a6ea169fc1ce1
New Y parity: Even (02)
Address: 124fJ1WAxDhF2sNSS3jaGoqsW8A5xT7J2q
--------------------------------------------------
MIRROR (n - k):
Key: 57896044618658097711785492504343953926418782139537452191302581570759080747167
X: c62c910e502cb615a27c58512b6cc2c94f5742f76cb3d12ec993400a3695d413
Address: 1AsPTrDFPaz6uYyuNgnmnrt8mEkfjYFmYq
====================================================================================================
G:\>python szew.py.txt
====================================================================================================
THEORY: MULTIPLICATION THROUGH THE SEAM (n/2)
Seam (n//2): 57896044618658097711785492504343953926418782139537452191302581570759080747168
====================================================================================================
Enter base k (e.g. 1): 57896044618658097711785492504343953926418782139537452191302581570759080747171
--------------------------------------------------
Base k: 57896044618658097711785492504343953926418782139537452191302581570759080747171
X: 5699b93fc6e1bd29e09a328d657a607b4155b61a6b5fcbedd7c12df7c67df8f5
Y parity: Odd (03)
Address: 1LtmtRzYDJLEw6cjoD8AxqzAsL4NEBvRab
--------------------------------------------------
TRANSFORMATION THROUGH THE SEAM (k * (n//2)):
New k: 28948022309329048855892746252171976963209391069768726095651290785379540373583
New X: 1b53b6cd7378ad80bfe00a7737f8fd1fc3a417fd80a5f334b1793e40d09ac841
New Y parity: Even (02)
Address: 18i5D6QmndczN2pEKRC4rTLi2MwhabqN5E
--------------------------------------------------
MIRROR (n - k):
Key: 57896044618658097711785492504343953926418782139537452191302581570759080747166
X: 5699b93fc6e1bd29e09a328d657a607b4155b61a6b5fcbedd7c12df7c67df8f5
Address: 12NqA1nEZw2w2o2BrkmymQHDTMgcxBSH6w
====================================================================================================