- #1

- 4

- 0

how do you solve for a=7mod12 ?

Stumped

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter JJKorman1
- Start date

- #1

- 4

- 0

how do you solve for a=7mod12 ?

Stumped

- #2

matt grime

Science Advisor

Homework Helper

- 9,420

- 4

- #3

- 4

- 0

if a=12mod7 yields a=5: 5 is the remainder however,

if a=7mod12 what is a? & how do I get there?

Thanks,

JimK

- #4

matt grime

Science Advisor

Homework Helper

- 9,420

- 4

As it stands, when you say solve a=p mod(n) you are not using a well defined phrase. What you might ought to mean is find the remainder on division by n of p, but that isn't immediately obvious from what you wrote. That is, and I realize I'm just restating what I orginally wrote, find the a with 0<=a<n that is the remainder on dividing by n of p. If a is already in that range you are done.

Remember these aren't equals signs, they are equivalences.

- #5

Gokul43201

Staff Emeritus

Science Advisor

Gold Member

- 7,082

- 20

To find what 7 mod 12 is, note that 0 is a multiple of any number. So, now, 0 is the largest multiple of 12 that lies just below 7, and the remainder is 7 itself.

This should be obvious from the reasoning that you are asking what hour 7 refers to on a 12 hr clock.

Share:

- Replies
- 2

- Views
- 4K