login
A217173
a(n) is the first digit (from the left) to appear eight times in succession in the decimal representation of n^A217163(n).
1
1, 1, 1, 5, 7, 1, 2, 1, 0, 0, 2, 8, 3, 8, 0, 8, 8, 5, 0, 0, 5, 5, 7, 5, 4, 5, 8, 4, 0, 1, 1, 2, 7, 7, 2, 5, 5, 7, 0, 6, 8, 1, 2, 3, 6, 6, 5, 1, 0, 0, 4, 3, 5, 8, 4, 5, 3, 6, 0, 2, 9, 8, 2, 4, 1, 2, 8, 5, 0, 0, 9, 6, 8, 0, 3, 6, 4, 3, 0, 1, 0, 5, 7, 9, 7, 8, 1
OFFSET
2,4
MATHEMATICA
Table[k = 1; While[d = IntegerDigits[n^k]; df = Partition[Differences[d], 7, 1]; ! MemberQ[df, {0, 0, 0, 0, 0, 0, 0}], k++]; d[[Position[df, {0, 0, 0, 0, 0, 0, 0}][[1, 1]]]], {n, 2, 10}] (* T. D. Noe, Oct 02 2012 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
V. Raman, Sep 27 2012
STATUS
approved