Digit concentration in Champernowne's constant - MATLAB Cody - MATLAB Central

Problem 44310. Digit concentration in Champernowne's constant

Difficulty:Rate

Consider the first 50 digits of Champernowne's constant

    0.12345678910111213141516171819202122232425262728293...

There are two zeros (do not count the left side of "." (integer part) ) in this series. So the digit concentration for 0 for the first 50 digits is = 2 / 50 = 0.04.

Also the number of '2' (x) digit is counted as 13. So the digit concentration of number '2' for the first 50 (d) digit is = 13/50 = 0.26

Calculate the digit concentration of number x for the first d digit of constant.

Solution Stats

46.36% Correct | 53.64% Incorrect
Last Solution submitted on Mar 02, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers120

Suggested Problems

More from this Author92

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page