OFFSET
0,4
PROG
(PARI) a(n) = {for (m = 1, eulerphi(2*n+1), if (10^m % (2*n+1) == 1, return (m)); ); return (0); } \\ Michel Marcus, Sep 14 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane and Amarnath Murthy, May 08 2002
STATUS
approved