Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫  π  -¹ ² ³ °

You are not logged in.

## #1 Help Me ! » x^e mod P where x is unknown » 2014-02-18 14:15:34

zxcvbnm123
Replies: 1

Hi, i need help to find this formula. Lets say only x is unknown but the next x will always be x(i+1) which is x,2x,3x,4x

x^e mod P = K
x^5 mod 23 = 13
2x ^ 5 mod 23 = 2
3x ^ 5 mod 23 = 8
4x ^ 5 mod 23 = ?

how to find next K since i know next x is (i+1) which will be 4x.
i need something similar to fast exponentiation. but for fast exponentiation, it works if e is the only unknown value.

## #2 Re: Help Me ! » algorithm to reduce long list of value to fix length value » 2013-07-26 20:06:21

i am using rsa encryption formula to get the values

does knowing how i get the long value really helps? the condition is the encrypted value length is not fix, it can be 12 digit long, it can be 25 digit long. and the position of the value must not be changed.

## #3 Re: Help Me ! » algorithm to reduce long list of value to fix length value » 2013-07-26 18:27:44

i forgot to add that the value is actually a encrypted value which is not in fixed length, and the position of the digit cannot be sorted as i will lose information.

is there any kind of fix algorithm something like (mod 1000)*6 /2. that kind of algorithm to change it to 6 digit value and able to get back the actual value on the other side.

## #4 Help Me ! » algorithm to reduce long list of value to fix length value » 2013-07-26 17:34:34

zxcvbnm123
Replies: 9

Lets say i have a value 545388669453 i need to use a algorithm to convert the value to a 6 digit value. then i enter the 6 digit value on the other application. the other application will use the same algorithm to get back the value of 545388669453.

## #5 Re: Help Me ! » Counting probability » 2013-07-24 08:09:25

the question is pretty confusing for me too. but i think what i need to look for is P(not spam given that the message is flagged as spam).

## #6 Re: Help Me ! » Counting probability » 2013-07-24 07:51:08

sorry can elaborate more? i just assume that i understand the theory and guess the number. if i am wrong please tell me in more details.

## #7 Help Me ! » Counting probability » 2013-07-24 07:15:53

zxcvbnm123
Replies: 7

i need some help counting probability using Bayes theorem

given that 1/10 of message is a spam message. spam detector will correct identify a message as spam 89 percent of the time. the spam detector will correct identify a message as not spam 89 percent of the time too. The detector has just detect a message as being spam. what is the probability that the message is actually not a spam message?

i have come out with some numbers which i am really not sure i am correct

someone please guide me with this. i am really confused.

## #8 Re: Formulas » geometry coordinates points on perimeter and points within shape » 2013-05-09 00:03:28

its ok i got it already

## #9 Re: Formulas » geometry coordinates points on perimeter and points within shape » 2013-05-08 13:35:06

can give me a example on how you get the answer for points within shape?  and i think l is l<b not l<b-a

## #10 Re: Formulas » geometry coordinates points on perimeter and points within shape » 2013-05-08 13:08:06

yes thank you very much , brilliant formula . rushing my work now

## #11 Re: Formulas » geometry coordinates points on perimeter and points within shape » 2013-05-08 09:11:38

some homework unrelated to maths...and we need to create this formula

## #12 Re: Formulas » geometry coordinates points on perimeter and points within shape » 2013-05-08 08:18:47

i am sorry, i am very new to geometry coordinates... i dont understand your formula...can give me one example how you use that formula to get the answers?

## #13 Re: Formulas » geometry coordinates points on perimeter and points within shape » 2013-05-08 06:21:31

yes just need point with integer . the type of answer i need is what i shown above.

## #14 Re: Formulas » geometry coordinates points on perimeter and points within shape » 2013-05-08 04:46:47

yes all lines and sides are parallel

## #15 Formulas » geometry coordinates points on perimeter and points within shape » 2013-05-08 04:25:56

zxcvbnm123
Replies: 14

i need to know the formula to get the coordinates that are on the perimeter and within the shape of square and rectangle. does anyone know that?

lets say square coordinates of (1,1) , (1,3) , (3,3) , (3,1)

points on perimeter would be (1,2) , (2,1) , (2,3) , (3,2) excluding the actual coordinates above.

points within shape would be (2,2)