![]() |
|
|
#1 |
|
Mar 2017
2·3·5 Posts |
We have some prime p and a given integer \(1\lt a \lt p-1\).
Some properties of simple multiples of a mod p are not straightforward to answer when they involve inequalities. Three independent examples of questions to think about (likely with related answers or strategies) 1) Given a constant \(N\lt p\), what is the smallest integer \(i>0\) which satisfies \(i a\mod p \lt N\)? 2) Over the range of integer i from 1 to N, what is the smallest value of \(i a \mod p\)? 3) For integer i in the range of \(1\lt i \lt N\), given another constant M, is \(i a \mod p\) ever less than M? In all three cases you can solve them by replacing the inequality with equality, multiplying both sides by \(a^{-1} \mod p\) to find the corresponding value of i, then iterating over all possible values of N (or M). But surely there's a more efficient way to answer these questions, especially if N were impractically large for explicit enumeration. Any suggestions how one might attack one or more of these problems? The inequality precludes the use of most modular algebra tricks. Thanks! |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My solution for the problem of microtransactions and media in general | jasong | jasong | 21 | 2019-08-19 14:59 |
| Sorry if this is obvious | robert44444uk | Miscellaneous Math | 51 | 2018-06-18 15:23 |
| Not A Solution to Discrete Logarithm Problem (limited version). | SarK0Y | Miscellaneous Math | 30 | 2017-05-14 03:08 |
| Simple Geom problem. | mfgoode | Puzzles | 48 | 2010-06-30 09:30 |
| Linux undefined symbol: cerr problem and solution | frmky | NFSNET Discussion | 4 | 2004-02-19 12:40 |