I have the number .1212212221222212222122222122222221222222221222222222... (notice that the number of 2s increase by one each time)....(adsbygoogle = window.adsbygoogle || []).push({});

Is there a way to come up with an equation that would tell you the number that's in the nth digit?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Telling which number is where in decimal expansion

**Physics Forums | Science Articles, Homework Help, Discussion**