cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A217170 a(n) is the first digit (from the left) to appear five times in succession in the decimal representation of n^A217160(n).

Original entry on oeis.org

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

Views

Author

V. Raman, Sep 27 2012

Keywords

Crossrefs

Programs

  • 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 *)

A217180 a(n) is the number of digits in the decimal representation of the smallest power of n that contains five consecutive identical digits.

Original entry on oeis.org

67, 131, 67, 88, 176, 146, 95, 131, 6, 163, 44, 253, 225, 255, 67, 290, 98, 148, 7, 138, 179, 255, 174, 131, 163, 158, 31, 239, 8, 60, 67, 242, 160, 170, 176, 32, 316, 327, 9, 192, 231, 190, 148, 240, 260, 228, 63, 146, 9, 64, 107, 206, 148, 159, 188, 250, 71
Offset: 2

Views

Author

V. Raman, Sep 27 2012

Keywords

Comments

Number of digits in n^k is equal to floor(1 + k*log_10(n)).

Crossrefs

Programs

  • Mathematica
    Table[k = 1; While[d = IntegerDigits[n^k]; ! MemberQ[Partition[Differences[d], 4, 1], {0, 0, 0, 0}], k++]; Length[d], {n, 2, 100}] (* T. D. Noe, Oct 03 2012 *)
    Table[IntegerLength[NestWhile[n #&,n,SequenceCount[IntegerDigits[#],{x_,x_,x_,x_,x_}]<1&]],{n,2,60}] (* Harvey P. Dale, Jun 14 2025 *)
Showing 1-2 of 2 results.