\r\n" );
document.write( "0.3450543003450005430000\r\n" );
document.write( "\r\n" );
document.write( "Here is the problem assuming the introductory 0 on the left of the decimal is the 1st digit\r\n" );
document.write( "\r\n" );
document.write( "The 4's occur in positions 3, 7, 12, 18, ...\r\n" );
document.write( "\r\n" );
document.write( "Its sequence of first differences 4, 5, 6,... is linear, so the\r\n" );
document.write( "sequence of positions of 4s is quadratic.\r\n" );
document.write( "\r\n" );
document.write( "Let the general term of 3, 7, 12, 18, ... be
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Solve that and get A=0.5, B=2.5, C=0\r\n" );
document.write( "\r\n" );
document.write( "So the general term for the positions of 4's is
\r\n" );
document.write( "\r\n" );
document.write( "So let's find the position of the 4 nearest (or 'at') the 81403rd term by \r\n" );
document.write( "setting\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "Solving that with a quadratic program on my TI-84 graphing calculator:\r\n" );
document.write( "\r\n" );
document.write( "n=401 and n=-406 \r\n" );
document.write( "\r\n" );
document.write( "That has solution 401 (Ignore the negative), so the 81403rd digit is a 4.\r\n" );
document.write( "\r\n" );
document.write( "Answer = 4\r\n" );
document.write( "\r\n" );
document.write( "--------------------------------------------------------------\r\n" );
document.write( "\r\n" );
document.write( "It's easier when we consider the 0 to the left of the decimal as the\r\n" );
document.write( "first digit.\r\n" );
document.write( "\r\n" );
document.write( "In the olden days, people didn't, as a rule, put a 0 before the decimal\r\n" );
document.write( "in decimal fractions between -1 and 1, as they do today. We would just write,\r\n" );
document.write( "say, .5, not 0.5, and -.75, not -0.75 and:\r\n" );
document.write( " \r\n" );
document.write( ".3450543003450005430000... not 0.3450543003450005430000...\r\n" );
document.write( " \r\n" );
document.write( "I'm an old fogy, so that's why I didn't consider the initial 0 before\r\n" );
document.write( "the decimal as the first digit in my other answer. LOL\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( " \n" );
document.write( "