Which member of the family?

Which member of the sequence is prime?

101 , 10101 , 1010101 , 101010101 , 101, 10101, 1010101, 101010101,\dots


The answer is 101.

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.

1 solution

If the number of 1 s 1's in any member of the sequence be even, then that member will be divisible by 101 101 and hence composit. If the number of 1 s 1's be odd, say 2 i + 1 2i+1 , then that member can be expressed as ( 1 0 2 i + 1 1 ) ( 1 0 2 i + 1 + 1 ) 99 \dfrac{(10^{2i+1}-1)(10^{2i+1}+1)}{99} . For all i i greater than 0 0 , both the factors are greater than 99 99 . Hence that member is also composit. Therefore the only prime member of the sequence is 101 101

Thank you, nice solution

Hana Wehbi - 1 year, 6 months ago

A more explicit way to show that ( 1 0 2 i + 1 1 ) ( 1 0 2 i + 1 + 1 ) 99 \frac{(10^{2i+1}-1)(10^{2i+1}+1)}{99} is an integer: ( 1 0 2 i + 1 1 ) 1 2 i + 1 1 0 (10^{2i+1}-1)\equiv 1^{2i+1}-1 \equiv 0\, (mod 9 9 ) and ( 1 0 2 i + 1 + 1 ) ( 1 ) 2 i + 1 + 1 0 (10^{2i+1}+1)\equiv (-1)^{2i+1}+1 \equiv 0\, (mod 11 11 ), therefore ( 1 0 2 i + 1 1 ) ( 1 0 2 i + 1 + 1 ) 0 (10^{2i+1}-1)(10^{2i+1}+1)\equiv 0\, (mod 99 99 ).

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...