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