mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2019-02-16, 11:08   #1
mathPuzzles
 
Mar 2017

111102 Posts
Default Simple problem with no obvious solution strategy

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!
mathPuzzles is offline   Reply With Quote
Reply

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

All times are UTC. The time now is 18:12.


Fri Jul 16 18:12:14 UTC 2021 up 49 days, 15:59, 1 user, load averages: 2.37, 2.20, 1.89

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.