login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A243462 Numbers n such that prime(n) and phi(n) have the same decimal digits. 1
51, 279, 326, 798, 810, 977, 1009, 1019, 1360, 1369, 1561, 1687, 1711, 1735, 1979, 2272, 2505, 2970, 3502, 4413, 4690, 5277, 5283, 5837, 6151, 6645, 6769, 6943, 7633, 8198, 8313, 8318, 10391, 10877, 11321, 15079, 16636, 17961, 18653, 18948, 19143, 20070 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
51 is in the sequence because prime(51) = 233 and phi(51) = 32.
20070 is in the sequence because prime(20070) = 225583 and phi(20070) = 5328.
PROG
(PARI) s=[]; for(n=1, 30000, if(vecsort(digits(prime(n)), , 8) == vecsort(digits(eulerphi(n)), , 8), s=concat(s, n))); s
CROSSREFS
Sequence in context: A204717 A253921 A204956 * A251351 A251344 A245362
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jun 05 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 12:53 EDT 2024. Contains 371780 sequences. (Running on oeis4.)