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

You are not logged in.

## #26 2013-04-07 18:15:01

Agnishom
Real Member

Offline

### Re: Miller-Rabin

No, but I am not very familiar with it

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

## #27 2013-04-07 18:20:42

bobbym

Online

### Re: Miller-Rabin

Did you program it?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #28 2013-04-07 18:26:58

Agnishom
Real Member

Offline

### Re: Miller-Rabin

I just copied the program from rosettacode

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

## #29 2013-04-07 18:28:00

bobbym

Online

### Re: Miller-Rabin

That is fine, did it work?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #30 2013-04-07 18:30:02

Agnishom
Real Member

Offline

### Re: Miller-Rabin

Yes, thats how I did the problem in the joke thread.

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

## #31 2013-04-07 18:36:18

bobbym

Online

### Re: Miller-Rabin

Does it have a parameter k?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #32 2013-04-07 19:00:08

Agnishom
Real Member

Offline

### Re: Miller-Rabin

I set it to 7, why?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

## #33 2013-04-07 19:08:06

bobbym

Online

### Re: Miller-Rabin

The k parameter determines how sure you are that you have found a prime.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #34 2013-04-07 19:10:28

Agnishom
Real Member

Offline

### Re: Miller-Rabin

Once it gave true in the Miller-Rabin, I sent it to the Real Prime Test.

See you later, I have to go

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

## #35 2013-04-07 19:12:27

bobbym

Online

### Re: Miller-Rabin

Okay, Have a good day.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.