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

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**Hugo28036****Member**- Registered: 2020-08-14
- Posts: 2

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

**bob bundy****Administrator**- Registered: 2010-06-20
- Posts: 8,902

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 Bundy

Offline

**Mathegocart****Member**- Registered: 2012-04-29
- Posts: 2,070

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?

The integral of hope is reality.

May bobbym have a wonderful time in the pearly gates of heaven.

He will be sorely missed.

Offline

Pages: **1**