What is the 40th digit in the pattern 0.142857?

0.142857'is 1/7

6digits in sequence
40/6=6 2/3
so in effect, the fourth digit:8