I've read online that the group order for the Bitcoin secp256k1 curve is:
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141
Its decimal is:
115792089237316195423570985008687907852837564279074904382605163141518161494337
However, the modulo for the secp256k1 curve is the prime number:
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F
Its decimal is:
115792089237316195423570985008687907853269984665640564039457584007908834671663
These numbers are almost identical. Since the secp256k1 curve has no subgroups, its cofactor is 1. Does that mean that by accident there are almost as many points on the curve as the modulo to compute it?
Or are these the same numbers and one is wrong?