login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A217179 a(n) is the number of digits in the decimal representation of the smallest power of n that contains four consecutive identical digits. 1
13, 16, 55, 67, 90, 61, 55, 84, 5, 41, 20, 28, 17, 116, 55, 64, 98, 90, 6, 39, 57, 48, 57, 68, 63, 16, 31, 55, 6, 27, 55, 108, 53, 28, 100, 32, 62, 51, 7, 65, 33, 33, 74, 55, 55, 24, 61, 68, 7, 64, 73, 51, 68, 110, 42, 18, 46, 18, 8, 115, 27, 54, 55, 33, 31, 106 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
Number of digits in n^k is equal to floor(1 + k*log_10(n)).
LINKS
MATHEMATICA
Table[k = 1; While[d = IntegerDigits[n^k]; ! MemberQ[Partition[Differences[d], 3, 1], {0, 0, 0}], k++]; Length[d], {n, 2, 100}] (* T. D. Noe, Oct 03 2012 *)
ndsp[n_]:=Module[{k=1}, While[SequenceCount[IntegerDigits[n^k], {x_, x_, x_, x_}] <1, k++]; IntegerLength[n^k]]; Array[ndsp, 70, 2] (* Harvey P. Dale, Jul 01 2021 *)
CROSSREFS
Sequence in context: A056663 A274978 A103230 * A107081 A029526 A219949
KEYWORD
nonn,base
AUTHOR
V. Raman, Sep 27 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 24 10:37 EDT 2024. Contains 374583 sequences. (Running on oeis4.)