login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A096841
Numbers n such that sum of divisors of these numbers gives a decimal repdigit.
6
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,2
LINKS
EXAMPLE
n=43:sigma[43]=44; regular solutions:repdigit-1=prime.
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 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Jul 15 2004
STATUS
approved