cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A243356 Numbers n such that n and phi(n) have no common digits.

This page as a plain text file.
%I A243356 #12 Feb 19 2024 18:15:34
%S A243356 2,3,4,5,6,7,8,9,10,12,14,15,16,18,20,22,24,27,30,32,33,34,35,36,39,
%T A243356 40,44,46,48,51,54,55,56,57,62,64,65,66,68,69,70,74,75,77,78,80,81,82,
%U A243356 85,86,87,88,90,91,92,93,95,96,98,99,105,106,108,111,112
%N A243356 Numbers n such that n and phi(n) have no common digits.
%H A243356 Colin Barker, <a href="/A243356/b243356.txt">Table of n, a(n) for n = 1..3000</a>
%e A243356 108 is in the sequence because phi(108) = 36, which has no digits in common with 108.
%t A243356 Select[Range[200],Intersection[IntegerDigits[#],IntegerDigits[EulerPhi[#]]]=={}&] (* _Harvey P. Dale_, Feb 19 2024 *)
%o A243356 (PARI) s=[]; for(n=1, 300, if(setintersect(vecsort(digits(n),,8), vecsort(digits(eulerphi(n)),,8))==[], s=concat(s, n))); s
%Y A243356 Cf. A000010, A082060.
%K A243356 nonn,base
%O A243356 1,1
%A A243356 _Colin Barker_, Jun 03 2014