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!)
A243463 Numbers n such that prime(n) and phi(n) have no common digits. 2
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 29, 30, 31, 33, 37, 39, 41, 43, 44, 45, 46, 47, 48, 55, 59, 61, 65, 66, 67, 71, 72, 75, 77, 78, 79, 80, 83, 87, 89, 93, 95, 99, 101, 102, 103, 104, 105, 107, 109, 112, 115, 117, 118 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
109 is in the sequence because prime(109) = 599 and phi(109) = 108, which has no digits in common with 599.
MATHEMATICA
Select[Range[120], Intersection[IntegerDigits[Prime[#]], IntegerDigits[ EulerPhi[ #]]]=={}&] (* Harvey P. Dale, Apr 23 2018 *)
PROG
(PARI) s=[]; for(n=1, 300, if(setintersect(vecsort(digits(prime(n)), , 8), vecsort(digits(eulerphi(n)), , 8))==[], s=concat(s, n))); s
CROSSREFS
Sequence in context: A295235 A136490 A129523 * A247805 A164713 A343185
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 25 06:49 EDT 2024. Contains 371964 sequences. (Running on oeis4.)