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”).

A244444
Numbers n such that n+sigma(n) is a repunit number.
1
4, 5, 506311, 4761903, 506767303, 5517762660583, 5554746531623, 5555541480743
OFFSET
1,1
COMMENTS
This sequence is a subsequence of A116017.
a(6) > 10^11. - Hiroaki Yamanouchi, Aug 26 2014
a(9) > 10^13. The numbers 47379454926624737751 and 546139199807860751551844463475591 belong to this sequence. - Giovanni Resta, Aug 17 2019
a(9) <= 5458110152757191. Also in the sequence is 38808343270779723425176258917550576371890625326889683884600092615. - Daniel Suteu, Aug 23 2019
EXAMPLE
sigma(4761903)+4761903 = 11111111.
PROG
(PARI)
for(n=1, 10^10, d=digits(sigma(n)+n); if(vecmax(d)==1&&vecmin(d)==1, print1(n, ", "))) \\ Derek Orr, Aug 02 2014
(Python) from sympy import divisors
[n for n in range(1, 10**6) if len(set(str(n+sum(divisors(n))))) == 1 and str(n+sum(divisors(n)))[0] == '1'] # Chai Wah Wu, Aug 04 2014
CROSSREFS
Sequence in context: A058916 A064612 A299639 * A231407 A005927 A201529
KEYWORD
nonn,base,more,hard
AUTHOR
Farideh Firoozbakht, Aug 01 2014
EXTENSIONS
a(5) from Hiroaki Yamanouchi, Aug 26 2014
a(6)-a(8) from Giovanni Resta, Aug 17 2019
STATUS
approved