> >Speaking of calculating,
> >
> >
> >What do you think the best is the best approach for this problem?
> >
> >Calculate the n th. (any number) decimal digit of the expansion of a
> >regular rational 1/n (not necessarily the same n), with n a prime number,
> >without calculating the preceding digits.
> >
> >Please give a example using substitution into formula.
Look up the Bailey-Borwein-Plouffe formula for extracting digits of pi,
and use similar methods. It should boil down to an exponentiation and
a long divide.
jasonp
_________________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers