Anti divisible palindromes!

What is the probability that a palindrome chosen between 1000 and 10 000 at random will not be divisible by 7?


The answer is 0.8.

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

Mehul Arora
Apr 26, 2015

A 4 digit palindrome can be expressed as 1000p+100q+10q+p Because It is A palindrome.

Using the divisibility for 7, We get,

100p+10q+q-2p=0 (Mod 7)

= 98p +11q= 0 (Mod 7)

We Know that 98 is completely Divisible by 7, So, Any multiple of 98 will also be divisible by 7.

Thus, We need to Solve

11q= 0 (Mod 7)

Which leads us to 2 solutions i.e. 0 and 7.

Now, There exist 90 palindromes Between 1000 and 10,000.

Thus the Probability of the Number NOT Being divisible by 7 Is

72 90 = 0.8 \dfrac{72}{90}=0.8

Cheers! xD

You've got the correct answer however you've made a mistake at the end. There are 90 palindromes between 1000 and 10000, 18 of which are divisble by 7.

Personal Data - 6 years, 1 month ago

Log in to reply

Yeah. Thanks For pointing that out! :)

Mehul Arora - 6 years, 1 month ago

Log in to reply

No problem :)

Personal Data - 6 years, 1 month ago
Adam Pet
May 12, 2015

That I named the palindromes ABBA was a coincidence really...

Ikosadero

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...