String Theory Discussion Forum
[ String Theory Home ] [ Forum Index ]

Re: Degrees of freedom and the 'img' tag

[ Follow Ups ] [ Post Followup ] [ Extra Dimensions X ] [ FAQ ]

Posted by pianowow on March 30, 2003 at 09:21:54:

In Reply to: Re: Degrees of freedom and the 'img' tag posted by rtharbaugh on March 30, 2003 at 08:16:53:

yeah... the mod operator is like the C language's %. It returns the integer remainder of a divison, given this division algorithm: d = q*m + r

US elementary school math:
   q with remainder r
m|d

Examples:

54%9 = 0
55%9 = 1
56%9 = 2
...
62%9 = 8
63%9 = 0

Let m,n be natural numbers {1,2,3,...}

n%n = 0
n%1 = 0
0%n = 0

Evenness: n is even if (n%2)=0. Odd if (n%2)=1.

If you wanted to read about it, discrete mathematics covers mod pretty well.

(Report this post to the moderator)

Follow Ups: (Reload page to see most recent)



Post a Followup


[ Follow Ups ] [ Post Followup ] [ Extra Dimensions X ] [ FAQ ]