On occasion of my original thread/ticket
https://ask.sagemath.org/question/41324/typo-in-sage-documentation/
https://trac.sagemath.org/ticket/24879
I've now noticed that the documentation is wrong at the end saying
In general if d=2^a 5^b m where m is coprime to 10, then s=max(a,b) and t is the order of 10 modulo d.
It must instead be
In general if d=2^a 5^b m where m is coprime to 10, then s=max(a,b) and t is the order of 10 modulo m.
For example, consider d=6 (i.e. m=3), then 10 doesn't have an order modulo d since they aren't coprime (there is no k≥1 so that 10^k = 1 mod 6). But 10 and m are coprime with 10^1 = 1 mod 3.
If I'm correct, could someone please open a ticket? I'm too incompetent for that.