How many Zeroes!

Algebra Level 1

1 00000000 0 1961 0’s 1 \large 1\underbrace{00000000\ldots0}_{1961 \text{ 0's}} 1

Is the number above composite?

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

Soumava Pal
Aug 23, 2015

just a program.. def prime(n): count=1 while count<=n: count+=1 if n%count==0: flag='yes' break else: flag='no' return flag print prime((10**1962)+1)

output is..

>> ================================ RESTART ================================ >> yes >>

Bufang Liang
Aug 22, 2015

EDIT: Brian below me is correct, this should be to the power of 1962, not 1961. I'll leave the below here as additional insight into these types of problems, but my solution does not work for this problem. (Though see footnote for why it hardly matters)

We can write the number as x 1961 + 1 x^{1961} + 1 , where x = 10 x= 10 .

Next, we find that this expression is divisible by x + 1 x+1 , because 1961 is odd. To see why this is, we can apply long division and find a pattern, which ends up cancelling out any remainder. This implies that the number is divisible by 11.

A footnote: Determining whether a number is prime or not is a very difficult problem in general with no easy solution. On the contrary, we only need to find one out of the countless techniques possible to find a single factor to determine that the number is composite. By the nature of this problem, it becomes easy to assume that the number must be composite, or else it would not be a fair problem to solve.

Wouldn't the number be 1 0 1962 + 1 10^{1962} + 1 ? We can still factor this, though, since 1962 = 3 654 , 1962 = 3*654, so

1 0 1962 + 1 = ( 1 0 654 + 1 ) ( 1 0 1308 1 0 654 + 1 ) , 10^{1962} + 1 = (10^{654} + 1)(10^{1308} - 10^{654} + 1),

thus ensuring that the given number is composite.

Question: Is it the case that all numbers of the form 1 0 n + 1 10^{n} + 1 for n > 0 , n \gt 0, other than 11 11 and 101 , 101, are composite?

Edit: Apparently 101 101 is the largest known prime of this form.

Brian Charlesworth - 5 years, 9 months ago

Log in to reply

Nicely done :-

Keshav Bassi - 5 years, 9 months ago

Log in to reply

Thanks. :)

Brian Charlesworth - 5 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...