A harmonic series without the nines

  • Context: Undergrad 
  • Thread starter Thread starter Thecla
  • Start date Start date
  • Tags Tags
    Harmonic Series
Thecla
Messages
137
Reaction score
10
TL;DR
The sum of an harmonic series without numbers containing a nine is finite
The sum of the harmonic series(1/1+1/2+1/3...) is infinite. However, if you exclude all the terms that contain the number nine, the sum is just under 23.
From 1 to 100 19% of the terms are excluded
From 1 to 1000 27.1% of the terms are excluded
Is there a formula for a N digit number what the percentage of numbers from 1 to N that contain a 9?
 
Mathematics news on Phys.org
There are 10N numbers with up to N digits (or exactly N digits if we use leading zeros) because every digit has 10 options. There 9N numbers with up to N digits but no 9 for the same reason. That leads to a simple equation for the fraction of numbers with/without 9 up to N digits.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 68 ·
3
Replies
68
Views
14K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
6K