Telling which number is where in decimal expansion

Click For Summary
SUMMARY

The discussion focuses on determining the digit at the nth position in the decimal expansion of the number 0.1212212221222212222122222122222221222222221222222222..., where the count of '2's increases incrementally. The positions of '1's correspond to triangular numbers, defined by the formula n(n+1)/2 for non-negative integers n. To ascertain if the m-th position contains a '1', one must solve the quadratic equation n² + n - 2m = 0 for integer solutions; if no solutions exist, the digit is '2'.

PREREQUISITES
  • Understanding of triangular numbers and their properties
  • Basic knowledge of quadratic equations and their solutions
  • Familiarity with decimal expansions and positional notation
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Study the properties of triangular numbers in depth
  • Learn about solving quadratic equations and their applications
  • Explore decimal expansions and their significance in number theory
  • Investigate algorithms for digit extraction in infinite sequences
USEFUL FOR

Mathematicians, computer scientists, and anyone interested in number theory and algorithms for digit determination in sequences.

Benn
Messages
34
Reaction score
0
I have the number .1212212221222212222122222122222221222222221222222222... (notice that the number of 2s increase by one each time)...

Is there a way to come up with an equation that would tell you the number that's in the nth digit?
 
Mathematics news on Phys.org
The "1"s occur in positions 1,3,6,10,15,... These are the triangular numbers n(n+1)/2 for non-negative integer n. So you want to see if the m-th position is a "1", just solve n2+n-2m = 0 and see if there are integer solutions. If not the answer is a "2".
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
32
Views
4K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K