Modulo Notation: Is There a More Efficient Way to Represent Modular Functions?

Click For Summary
Using logarithmic text formatting for modular functions, with the modulus in subscript after "mod," could enhance efficiency in representing these functions. However, mathematicians typically regard modulo as an operator rather than a function, which may lead to confusion. Subscripts are traditionally reserved for coordinate or indexing purposes, complicating the proposed notation. Most programming languages define modulo operations with the first argument as the number and the second as the base, maintaining consistency across functions. Overall, while the idea has merit, it may not align well with established mathematical conventions.
Chrono G. Xay
Messages
91
Reaction score
3
Would it not be more efficient to write modular functions using the text formatting of logarithms? The modulus would be in subscript after "mod", and the expression to be used would be written after...

Ex. modnf(x)
 
Mathematics news on Phys.org
just move the number in an array and you can address the single digits; the comfort depends on the programming language you use
 
While I think you could use this notation, however mathematicians view modulo as an operator and not a function. Also subscripts in mathematics are used for coordinate indexing or row/column indexing and your notation would be confusing in those situations.

Programming languages tend to define a general purpose method for modulo where the first argument is the number and the second is the base for the modulo operation. Even in log10 some programming languages use log() for base 10 and ln() for natural logs.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
11
Views
12K
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K