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.

A096841 Numbers n such that sum of divisors of these numbers gives a decimal repdigit.

Original entry on oeis.org

1, 2, 3, 4, 5, 7, 43, 146, 365, 438, 443, 803, 887, 2221, 4442, 6663, 8887, 87876, 88183, 153837, 250244, 285597, 292860, 296294, 302877, 307674, 344268, 351612, 380718, 403398, 423260, 441821, 444443, 550238, 579038, 584438, 588974, 593163, 600363
Offset: 1

Views

Author

Labos Elemer, Jul 15 2004

Keywords

Examples

			n=43:sigma[43]=44; regular solutions:repdigit-1=prime.
		

Crossrefs

Programs

  • Mathematica
    rd[x_] := Length[Union[IntegerDigits[x]]] Do[s = rd[DivisorSigma[1, n]]; s1 = DivisorSigma[1, n]; If[Equal[s, 1], Print[{n, s1}]; ta[[u]] = n; u = u + 1], {n, 1, 1000000}];ta;DivisorSigma[1, ta]
    Select[Range[650000],Length[Union[IntegerDigits[DivisorSigma[1,#]]]]==1&] (* Harvey P. Dale, May 11 2019 *)