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

A073455
Numbers n such that to phi(n) = pi(n)-1.
3
6, 12, 18, 24, 42, 60
OFFSET
1,1
EXAMPLE
9 primes below 24 = {2,3,5,7,11,13,17,19,23}; RRS[24]={1,5,7,11,13,17,19,23}, so 24 is here.
MATHEMATICA
Do[s=EulerPhi[n]-PrimePi[n]; If[Equal[s, -1], Print[n]], {n, 1, 10000}]
CROSSREFS
KEYWORD
fini,full,nonn
AUTHOR
Labos Elemer, Aug 02 2002
STATUS
approved