Request for "Decimal Period of 1/X in Base Y" program
|
03-01-2015, 08:18 AM
Post: #14
|
|||
|
|||
RE: Request for "Multiplicative Order of Y (mod X)" program
ie Write fraction in lowest terms, a/b, remove factors of 2 & 5 from b, call this c, then calculate order of 10 modulo c - that, I hope, does the trick, ie returns number of repeating digits.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)