Ask Your Question
2

Typo in Sage documentation (no. 2)

asked 2020-02-04 17:02:46 +0200

Thrash gravatar image

updated 2020-02-04 17:08:37 +0200

On occasion of my original thread/ticket

https://ask.sagemath.org/question/413...

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 which means t=1. And in fact, the period length of 1/6 is 1.

If I'm correct, could someone please open a ticket? I'm too incompetent for that.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2020-02-10 13:41:12 +0200

jipilab gravatar image

This is now a ticket: ticket 29175

edit flag offensive delete link more

Comments

Thank you very much!

Thrash gravatar imageThrash ( 2020-02-11 08:50:15 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-02-04 17:02:46 +0200

Seen: 403 times

Last updated: Feb 10 '20