Global Rank: 12648

Totalscore: 257

Posts: 1

Thanks: 1

UpVotes: 1

Registered: 2y 67d

Last Seen: 156d 9h

The User is Offline

answer is wrong?

Apr 27, 2023 - 07:52:43 (1y 52d)

Apr 27, 2023 - 07:52:43 (1y 52d)

I use python to run prime number program ,Get answer is 1000003 and 1000033,But system tell me answer is wrong,1000003 is not prime number?

I need some help...

I need some help...

Global Rank: 13679

Totalscore: 164

Posts: 1

Thanks: 1

UpVotes: 1

Registered: 1y 54d

Last Seen: 276d 23h

The User is Offline

RE: answer is wrong?

Apr 27, 2023 - 08:58:47 (1y 52d)

Apr 27, 2023 - 08:58:47 (1y 52d)

which is a prime whose digit sum 1+3=4 is not prime

Global Rank: 186

Totalscore: 110531

Posts: 88

Thanks: 78

UpVotes: 91

Registered: 9y 278d

Last Seen: 16d 18h

The User is Offline

RE: answer is wrong?

May 06, 2023 - 15:05:44 (1y 43d)

May 06, 2023 - 15:05:44 (1y 43d)

Quote from mingxuanApr 27, 2023 - 07:52:43

I use python to run prime number program ,Get answer is 1000003 and 1000033,But system tell me answer is wrong,1000003 is not prime number?

I need some help...

GeSHi`ed Plaintext code

1 2 | 1000003 -> is prime 1000033 -> is prime |

Quote from ianpimApr 27, 2023 - 08:58:47

which is a prime whose digit sum 1+3=4 is not prime

Afaik 1 is not a prime number; these begin with 2. Which is

GeSHi`ed Plaintext code

1 2 | 13 is prime 1+3 = 4 not prime |

Maybe you wanted to know "

Last edited by occasus - May 06, 2023 - 15:13:03

Global Rank: 6448

Totalscore: 1902

Posts: 1

Thanks: 0

UpVotes: 0

Registered: 350d 19h

Last Seen: 256d 6h

The User is Offline

RE: answer is wrong?

Jul 03, 2023 - 15:11:17 (350d 12h)

Jul 03, 2023 - 15:11:17 (350d 12h)

I have a same problem but with different numbers.

My numbers are:

1000253 is prime => 1+2+5+3 = 11 is also prime

2000003 is prime => 2+3 = 5 is also prime

My solution is 10002532000003, and my answer is still wrong.

My numbers are:

1000253 is prime => 1+2+5+3 = 11 is also prime

2000003 is prime => 2+3 = 5 is also prime

My solution is 10002532000003, and my answer is still wrong.

Global Rank: 252

Totalscore: 87258

Posts: 1644

Thanks: 1343

UpVotes: 894

Registered: 16y 124d

Last Seen: 3d 14h

The User is Offline

RE: answer is wrong?

Jul 03, 2023 - 16:34:00 (350d 11h)

Jul 03, 2023 - 16:34:00 (350d 11h)

You need the first two numbers. there are numbers earlier

The geeks shall inherit the properties and methods of object earth.

Redknee, runner, tunelko, silenttrack, n0tHappy, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, kalungmas have subscribed to this thread and receive emails on new posts.

1 people are watching the thread at the moment.

This thread has been viewed 2621 times.

1 people are watching the thread at the moment.

This thread has been viewed 2621 times.