login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037171 Numbers n such that phi(n) = pi(n), i.e. A000010(n) = A000720(n). 13
2, 3, 4, 8, 10, 14, 20, 90 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

David W. Wilson (davidwwilson(AT)comcast.net) and Jeffrey Shallit showed that 90 is the last term.

REFERENCES

D. S. Mitrinovic et al., Handbook of Number Theory, Kluwer, p. 11.

EXAMPLE

phi(10)=4, pi(10)=4.

a(1)=2 since k=2 is the lowest index for which A000720(n) = A000010(n), i.e. EulerPhi(n)=PrimePi(n) [M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Mar 30 2007]

MAPLE

select(x->numtheory[phi](x)=numtheory[pi](x), [$1..999]); # M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Mar 30 2007

PROG

(PARI:) for(n=1, 1e5, if(primepi(n)==eulerphi(n), print(n))) /* M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Mar 30 2007 */

CROSSREFS

Cf. A037228, A000720, A000010.

Sequence in context: A051783 A033083 A005542 * A186417 A114854 A127279

Adjacent sequences:  A037168 A037169 A037170 * A037172 A037173 A037174

KEYWORD

easy,nonn,fini,full

AUTHOR

Naohiro Nomoto (6284968128(AT)geocities.co.jp)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.