OFFSET
2,1
LINKS
V. Raman, Table of n, a(n) for n = 2..1000
MATHEMATICA
Table[k = 1; While[! MemberQ[Partition[Differences[IntegerDigits[n^k]], 6, 1], {0, 0, 0, 0, 0, 0}], k++]; k, {n, 2, 100}] (* T. D. Noe, Oct 01 2012 *)
scd[n_]:=Module[{k=1}, While[FreeQ[IntegerDigits[n^k], {___, x_, x_, x_, x_, x_, x_, x_, ___}], k++]; k]; Array[scd, 50, 2] (* Harvey P. Dale, May 23 2016 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
V. Raman, Sep 27 2012
STATUS
approved