7

What made 142857 a special number? Why it gives the same digits if it is multiplied by 1,2,3,4,5 & 6 ? And gives all nines when it is multiplied by 7?

user21820
  • 57,693
  • 9
  • 98
  • 256

2 Answers2

9

More generally, this happens for the fraction $1/n$ exactly when $10$ is a primitive root mod $n$.

Those $n$ are the ones in A167797: $$ 7, 17, 19, 23, 29, 47, 49, 59, 61, 97, 109, 113, 131, 149, 167, 179, 181, 193, \dots $$

lhf
  • 216,483
3

Because $\dfrac1{7} =.142857142857... $ and all (and there is a lot) that follows from that.

marty cohen
  • 107,799
  • 1
    I don't think just mentioning this is helpful at all. The OP might have observed this besides you haven't mentioned how to further draw conclusions from this. –  Aug 29 '19 at 19:52
  • Thank you. Upvoted. – marty cohen Aug 29 '19 at 23:11