Math Is Fun Forum

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

You are not logged in.

#1 2020-09-09 21:42:39

Hugo28036
Member
Registered: 2020-08-14
Posts: 5

Primality test and easy factorization

This is an algorithm that test if one number is prime and if the number it´s not prime returns the biggest factor of that number.

Offline

#2 2020-09-11 00:07:02

Bob
Administrator
Registered: 2010-06-20
Posts: 10,627

Re: Primality test and easy factorization

hi Hugo28036

Ok. So what is the algorithm?

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#3 2020-09-11 11:46:17

Mathegocart
Member
Registered: 2012-04-29
Posts: 2,226

Re: Primality test and easy factorization

Hugo28036 wrote:

This is an algorithm that test if one number is prime and if the number it´s not prime returns the biggest factor of that number.

Are you going to keep it a secret and profit off of it or are you going to enlighten our poor souls as to what it is? wink


The integral of hope is reality.
May bobbym have a wonderful time in the pearly gates of heaven.
He will be sorely missed.

Offline

Board footer

Powered by FluxBB