It's not over yet!

True or False: 987654321 is a prime number. \color{#69047E}{987654321} \, \, \text{is a prime number.}


this problem is a part of set Prime Crimes via Computer Science
True False

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Sravanth C.
Feb 11, 2016

Well, I got it luckily, I just added the digits: 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 = 9 × 10 2 = 45 9+8+7+6+5+4+3+2+1=\dfrac{9\times 10}2=\boxed{45}

And we know 45 45 is divisible by 3 3 and 9 9 , hence 987654321 987654321 is not a prime number.

Well Done :)

Umar Hayat - 5 years, 3 months ago
展豪 張
Mar 6, 2016

987654321 = 3 2 × 1 7 2 × 379721 987654321=3^2\times 17^2\times 379721

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...