OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..3000
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
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jun 05 2014
STATUS
approved