Finding the Frequency of 5 in $S$

  • Context: MHB 
  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Frequency
Click For Summary
SUMMARY

The discussion centers on calculating the frequency of the digit 5 in the series defined by \( S = 1 + 10 + 19 + 28 + \cdots + 10^{2013} \). The arithmetic series is characterized by a first term \( a_1 = 1 \) and a common difference \( d = 9 \). The total number of terms \( n \) is derived from the formula \( n = \frac{10^{m} - 1}{9} + 1 \). For \( m = 2013 \), the frequency of the digit 5 in \( S_n \) is conclusively calculated to be 4022.

PREREQUISITES
  • Understanding of arithmetic series and their properties
  • Familiarity with summation notation and formulas
  • Knowledge of mathematical notation for sequences
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the derivation of arithmetic series formulas, particularly \( S_n = \frac{n}{2} (a_1 + a_n) \)
  • Explore the concept of digit frequency in large numbers
  • Learn about the implications of series convergence and divergence
  • Investigate other mathematical challenges involving digit occurrences in sequences
USEFUL FOR

Mathematicians, educators, students studying number theory, and anyone interested in combinatorial mathematics or digit analysis in sequences.

anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Let $S=1+10+19+28+\cdots+10^{2013}$. How often does the digit 5 occur in $S$.
 
Mathematics news on Phys.org
anemone said:
Let $S=1+10+19+28+\cdots+10^{2013}$. How often does the digit 5 occur in $S$.

[sp]It is a series of arithmetic type ...

$\displaystyle S_{n} = \sum_{k=1}^{n} a_{k},\ a_{k} = a_{1} + d\ (k-1)\ (1)$

... where $d=9$, $a_{1}=1$ and...

$\displaystyle n= \frac{10^{m} - 1}{9} + 1\ (2)$

It is well known that...

$\displaystyle S_{n} = \frac{n}{2} (a_{1} + a_{n})\ (3)$

... and because $\frac{n}{2}$ is a number composed by m-2 digits 'five'and 1 digit 'sex' the numer of digit 'five' in $S_{n}$ is 2 (m-2). For m=2013 the number of digit 'five' is 2 (2013 - 2) = 4022...[/sp]

Kind regards

$\chi$ $\sigma$
 
chisigma said:
[sp]It is a series of arithmetic type ...

$\displaystyle S_{n} = \sum_{k=1}^{n} a_{k},\ a_{k} = a_{1} + d\ (k-1)\ (1)$

... where $d=9$, $a_{1}=1$ and...

$\displaystyle n= \frac{10^{m} - 1}{9} + 1\ (2)$

It is well known that...

$\displaystyle S_{n} = \frac{n}{2} (a_{1} + a_{n})\ (3)$

... and because $\frac{n}{2}$ is a number composed by m-2 digits 'five'and 1 digit 'sex' the numer of digit 'five' in $S_{n}$ is 2 (m-2). For m=2013 the number of digit 'five' is 2 (2013 - 2) = 4022...[/sp]

Kind regards

$\chi$ $\sigma$

Hi chisigma,:)

This is one very easy to follow and nevertheless VERY elegant solution to a pretty hard challenge! How many thumbs up can I give to this solution?!?(Yes)(Yes) :cool:

Your reply kind of reassuring me to keep posting many more challenge problems here because it seems to me our members will just continue to surprise us by their wonderful and insightful solution!

Thanks chisigma for this solution! And thanks for participating!
 

Similar threads

Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 17 ·
Replies
17
Views
1K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K