OFFSET
2,1
LINKS
V. Raman, Table of n, a(n) for n = 2..100
MATHEMATICA
Table[k = 1; While[! MemberQ[Partition[Differences[IntegerDigits[n^k]], 7, 1], {0, 0, 0, 0, 0, 0, 0}], k++]; k, {n, 2, 50}] (* T. D. Noe, Oct 01 2012 *)
lvk8[n_]:=Module[{k=Ceiling[Log[n, 11111111]]}, While[Max[Length/@ Split[ IntegerDigits[n^k]]]<8, k++]; k] Array[lvk8, 50, 2] (* Harvey P. Dale, Jul 31 2013 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
V. Raman, Sep 27 2012
EXTENSIONS
Definition clarified by Harvey P. Dale, Jul 31 2013
STATUS
approved