http://www.elektrosoft.it/matematica/repunit/repunit.htm & http://www.elektrosoft.it/matematica/repunit/curiosity.htm
To be completed...