A086981 a(n) = smallest k where (10^k+1)=0 mod prime(n)^2, or 0 if no such k exists.
0, 0, 0, 21, 11, 39, 136, 171, 253, 406, 0, 0, 0, 0, 1081, 0, 1711, 1830, 0, 0, 292, 0, 0, 1958, 4656, 202, 1751, 0, 5886, 6328, 2667, 8515, 548, 3197, 11026, 0, 6123, 0, 13861, 0, 15931, 16290, 0, 18528, 9653, 0, 3165, 24753, 0, 26106, 27028, 0, 3615, 6275
Offset: 1
Keywords
Examples
a(4)=21 since 21 is least value of k for which (10^k+1)=0 mod 7^2.
Links
- Charles R. Greathouse IV, Sep 10, 2008, Table of n, a(n) for n = 1..4000
Comments