login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

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

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

Cf. A000010, A000040, A243462.

Sequence in context: A295235 A136490 A129523 * A247805 A164713 A343185

Adjacent sequences:  A243460 A243461 A243462 * A243464 A243465 A243466

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 3 21:17 EST 2021. Contains 349468 sequences. (Running on oeis4.)