Question and Answers Forum

All Questions      Topic List

Number Theory Questions

Previous in All Question      Next in All Question      

Previous in Number Theory      Next in Number Theory      

Question Number 134960 by bobhans last updated on 09/Mar/21

Number theory  A palindrome is a number that reads the same backwards as forwards, as 3141413.  (a)How many two-digit palindromes are there?  (b)How many three-digit ones?  (c)How many k-digits ones?

NumbertheoryA palindrome is a number that reads the same backwards as forwards, as 3141413. (a)How many two-digit palindromes are there? (b)How many three-digit ones? (c)How many k-digits ones?

Answered by mr W last updated on 09/Mar/21

(c) k−digit numbers  case 1: k=2n  XYYY...YY...YYYX  X: 1−9  Y: 0−9  ⇒number of numbers=9×10^(n−1)   case 2: k=2n+1  XYYY...YZY...YYYX  X: 1−9  Y: 0−9  Z: 0−9  ⇒number of numbers=9×10^n   generally 9×10^(⌊((k+1)/2)⌋−1)   k=2: 9×10^0 =9 numbers  k=3: 9×10^1 =90 numbers

(c)kdigitnumberscase1:k=2nXYYY...YY...YYYXX:19Y:09numberofnumbers=9×10n1case2:k=2n+1XYYY...YZY...YYYXX:19Y:09Z:09numberofnumbers=9×10ngenerally9×10k+121k=2:9×100=9numbersk=3:9×101=90numbers

Commented by Rasheed.Sindhi last updated on 09/Mar/21

Wonderful  sir!

Wonderfulsir!

Commented by mr W last updated on 09/Mar/21

thanks sir!

thankssir!

Commented by mr W last updated on 09/Mar/21

it seems you are not so often here as  before.

itseemsyouarenotsooftenhereasbefore.

Commented by Rasheed.Sindhi last updated on 09/Mar/21

Yes sir you′re right. I′m not able  to concentrate much.

Yessiryoureright.Imnotabletoconcentratemuch.

Commented by bobhans last updated on 09/Mar/21

yess

yess

Commented by liberty last updated on 09/Mar/21

how many four digit ones sir?  k=2×2 ⇒n=2  the number = 9×10^(2−1)  = 90?

howmanyfourdigitonessir?k=2×2n=2thenumber=9×1021=90?

Commented by mr W last updated on 10/Mar/21

yes

yes

Terms of Service

Privacy Policy

Contact: info@tinkutara.com