A217169 a(n) is the first digit (from the left) to appear four times in succession in the decimal representation of n^A217159(n).
5, 5, 8, 7, 0, 9, 8, 5, 0, 7, 3, 6, 1, 2, 8, 9, 5, 1, 0, 4, 4, 7, 7, 8, 2, 5, 1, 0, 0, 9, 8, 6, 5, 5, 2, 6, 5, 6, 0, 9, 6, 7, 6, 5, 1, 6, 2, 2, 0, 6, 6, 3, 3, 1, 0, 3, 1, 1, 0, 7, 6, 2, 8, 3, 5, 9, 6, 8, 0, 1, 4, 8, 6, 3, 8, 1, 7, 9, 0, 5, 6, 9, 1, 2, 8, 1, 8
Offset: 2
Links
- V. Raman, Table of n, a(n) for n = 2..10000
Programs
-
Mathematica
Table[k = 1; While[d = IntegerDigits[n^k]; df = Partition[Differences[d], 3, 1]; ! MemberQ[df, {0, 0, 0}], k++]; d[[Position[df, {0, 0, 0}][[1, 1]]]], {n, 2, 100}] (* T. D. Noe, Oct 02 2012 *)
Comments