Fre-quency

Logic Level 3

Quency is writing down the numbers from 1 to 1000. On a tabular column, he is measuring the frequency with which each digit appears. What is the sum of the squares of the number that appears most frequently and the number that appears least frequently?


The answer is 1.

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

Anthony Holm
Dec 7, 2016

Between 1 and 999 all digits 1-9 appear with the same frequency, thus once we count to 1000, 1 becomes the most common digit. The digit 0 is least common because unlike all the other digits it can't start a number. The sum of these two numbers squares is 1+0=1.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...