login
A168145
Numbers n such that to abs(phi(n) - pi(n)) = 1.
0
1, 5, 6, 12, 18, 24, 36, 42, 48, 60, 84
OFFSET
1,2
COMMENTS
No more terms between 84 and 120000. - R. J. Mathar, Jun 04 2010
FORMULA
Solutions to A000010(x)=A000720(x)+k where k=+-1; finite for any fixed value of k.
EXAMPLE
15 primes below 48=(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47); 16 terms in RRS(48)=(1, 5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47), so 48 is here.
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected (42 inserted) by R. J. Mathar, Jun 04 2010
STATUS
approved