Community mocks

Qiuyun TMUA Simulation Test Paper 1 · Q20

Paper 1Powers & logarithmsNumber & counting

If xx is a real number, let ⌊x⌋\lfloor x\rfloor be the greatest integer that is less than or equal to xx. If nn is a positive integer, let S(n)S(n) be defined by

S(n)=⌊n10⌊log⁡n⌋⌋+10(n−10⌊log⁡n⌋×⌊n10⌊log⁡n⌋⌋).S(n)=\left\lfloor\frac n{10^{\lfloor\log n\rfloor}}\right\rfloor+10\left(n-10^{\lfloor\log n\rfloor}\times\left\lfloor\frac n{10^{\lfloor\log n\rfloor}}\right\rfloor\right).

(All the logarithms are base 10.)

How many integers nn from 1 to 2011 (inclusive) satisfy S(S(n))=nS(S(n))=n?

A108108
B104104
C100100
D9696
E9292

Read the questions freely. Sign in to check your answer, see the worked solution and save your progress.