[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A095228
n-th decimal digit of 1/n!.
0
0, 0, 0, 6, 6, 3, 8, 4, 0, 5, 5, 5, 7, 5, 7, 4, 7, 1, 6, 2, 1, 9, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
0,4
COMMENTS
Since n! grows faster than 10^n, eventually the entries become 0. This occurs at a(25).
EXAMPLE
a(7) = 4, 1/7! = 1/5040 = 0.0001984126984126984126984126984127... and the seventh digit after the decimal point is 4.
MATHEMATICA
f[n_] := Block[{d = RealDigits[1/n!, 10, 155]}, e = d[[2]]; If[ Max[1, n] > -e, d[[1, Max[1, n] + e]], 0]]; Table[ f[n], {n, 0, 104}] (* Robert G. Wilson v, Jun 12 2004 *)
CROSSREFS
Cf. A086824.
Sequence in context: A202068 A301974 A088454 * A021605 A180573 A143937
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Jun 11 2004
EXTENSIONS
Edited, corrected and extended by Robert G. Wilson v, Jun 12 2004
STATUS
approved