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.

A116020 Numbers n such that sigma(n) - phi(n) is a repdigit greater than 2.

Original entry on oeis.org

4, 8, 9, 18, 25, 27, 28, 57, 62, 85, 123, 192, 218, 258, 259, 261, 322, 403, 632, 662, 693, 1127, 2195, 2218, 2321, 2658, 3548, 4577, 4763, 5597, 5603, 5921, 6662, 7421, 7697, 9617, 9683, 10721, 10877, 11537, 12317, 13323, 17243, 18659, 23363, 26483
Offset: 1

Views

Author

Giovanni Resta, Feb 13 2006

Keywords

Comments

For every prime p sigma(p)-phi(p) is 2, so that case is trivial.
(I). If both numbers p=4*10^n+1 & q=(4*10^n-13)/9 are primes then m=p*q is in the sequence because sigma(m)-phi(m)=8*(10^(n+1)-1)/9 is a repdigit number. Conjecture: 123, 17243 & 1772443 are all such terms. - Farideh Firoozbakht, Aug 24 2006
(II). If p=(10^n-7)/3 is prime then m=2p is in the sequence because sigma(m)-phi(m)=2p+4=6*(10^n-1)/9 is a repdigit number. 62 is the smallest such terms. - Farideh Firoozbakht, Aug 24 2006
(III). If p=(4*10^n-31)/9 is prime then m=3p is in the sequence because sigma(m)-phi(m)=2p+6=8*(10^n-1)/9 is a repdigit number. 123 is the smallest such terms. - Farideh Firoozbakht, Aug 24 2006
(IV). If p=(8*10^n-17)/9 is a prime then both numbers 4p & 46p are in the sequence because sigma(4p)-phi(4p)=5p+9=4*(10^(n+1)-1)/9 & sigma(46p)-phi(46p)=50p+94=4*(10^(n+2)-1)/9 are repdigit numbers. 28 & 322 are the smallest such terms. - Farideh Firoozbakht, Aug 24 2006
(V). If p=(4*10^n-13)/9 is a prime greater than 3 then m=6p is in the sequence because sigma(m)-phi(m)=10p+14=4*(10^(n+1)-1)/9 is a repdigit number. 258 is the smallest such terms. - Farideh Firoozbakht, Aug 24 2006
(VI). If p=(8*10^(2n+1)-179)/99 is prime then m=8p is in the sequence because sigma(m)-phi(m)=11p+19=8*(10^(2n+1)-1)/9 is a repdigit number. 632 is the smallest such terms. - Farideh Firoozbakht, Aug 24 2006
(VII). If p=(10^(3n+1)-37)/27 is prime then m=12p is in the sequence because sigma(m)-phi(m)=24p+32=8*(10^(3n+1)-1)/9 is a repdigit number. 4444444428 is the smallest such terms. - Farideh Firoozbakht, Aug 24 2006

Examples

			sigma(662) - phi(662) = 666.
		

Crossrefs

A116029 Numbers n such that n + sigma(n) + phi(n) is a repdigit.

Original entry on oeis.org

1, 2, 3, 11, 12, 14, 16, 32, 37, 216, 325, 1851, 2962, 6836, 18125, 178569, 3652175, 7404814, 10599021, 196259690, 370355439, 2962962962, 7355242534, 7404880354, 31328532351
Offset: 1

Views

Author

Giovanni Resta, Feb 13 2006

Keywords

Comments

All primes of the form 11...1 are in the sequence because if p=11...1 is a prime then sigma(p)+phi(p)+p=3p=33...3 is a repdigit number, so (10^A004023-1)/9 is a subsequence of this sequence. 37 is the only multi-digit prime term of the sequence which is not of the form 11...1 - the proof is easy. Next term is greater than 2.3*10^10. - Farideh Firoozbakht, Aug 24 2006
Also we have the following two assertions. - Farideh Firoozbakht, Aug 24 2006
(a). If p=(2*10^(3n+2)-11)/27 is prime then m=2p is in the sequence because sigma(m)+phi(m)+m=6p+2=4*(10^(3n+2)-1)/9 is a repdigit number. 2*(2*10^29-11)/27 (a 29-digit number)is the smallest such terms of the sequence and the next such term(if it exists) has more than 20000 digits. - Farideh Firoozbakht, Aug 24 2006
(b). If p=(4*10^(3n+1)-13)/27 is prime then m=2p is in the sequence because sigma(m)+phi(m)+m=8*(10^(3n+1)-1)/9 is a repdigit number. 2962 is the smallest such terms of the sequence. - Farideh Firoozbakht, Aug 24 2006
a(26) > 10^11. - Donovan Johnson, Feb 19 2013

Examples

			3652175 + sigma(3652175) + phi(3652175) = 11111111.
		

Crossrefs

Extensions

More terms from Farideh Firoozbakht, Aug 24 2006
a(22)-a(25) from Donovan Johnson, Feb 19 2013
Showing 1-2 of 2 results.