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.

A330192 Integers k such that the length of decimal expansion of k^k is a repdigit.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 35, 46, 51, 194, 234, 273, 349, 386, 423, 1411, 1717, 2017, 2889, 3173, 13455, 22933, 68896, 89733, 130334, 169949, 189481, 208861, 1273968, 4977354, 12523569, 43631177, 123579653, 631296394, 21506946847, 3541615362849, 8590606646469
Offset: 1

Views

Author

Michel Marcus, Dec 05 2019

Keywords

Comments

Integers k such that A066022(k) belongs to A010785.

Examples

			For k=1 to 9, k^k has k digits, that is, A066022(k) is a repdigit.
k=631296394 is a term since k^k has 5555555555 digits. See Cobeli link.
		

Crossrefs

Cf. A010785 (repdigits), A000312 (n^n), A066022 (number of digits of n^n), A330193.

Programs

  • Mathematica
    Flatten@ Reap[Sow[0]; Do[v = d (10^nd-1)/9; s = Solve[v-1 <= x Log10[x] < v, x, Integers]; If[s != {}, Sow[x /. s]], {nd, 15}, {d, 9}]][[2, 1]] (* Giovanni Resta, Dec 05 2019 *)
  • PARI
    isok(k) = #Set(digits(#Str(k^k))) == 1;

Extensions

a(28)-a(42) from Giovanni Resta, Dec 05 2019