# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a253576 Showing 1-1 of 1 %I A253576 #12 Jan 08 2015 17:36:30 %S A253576 3,7,43,7757,31333 %N A253576 Primes p such that digits of p do not appear in p^7. %C A253576 a(6)> 10^7. %C A253576 a(6) > 10^9. - _Chai Wah Wu_, Jan 05 2015 %e A253576 3 and 3^7 = 2187 have no digits in common, hence 3 is in the sequence. %t A253576 Select[Prime[Range[1000000]], Intersection[IntegerDigits[#], IntegerDigits[#^7]]=={} &] %o A253576 (Python) %o A253576 from sympy import isprime %o A253576 A253576_list = [n for n in range(1,10**6) if set(str(n)) & set(str(n**7)) == set() and isprime(n)] %o A253576 # _Chai Wah Wu_, Jan 05 2015 %Y A253576 Cf. similar sequences listed in A253574. %K A253576 nonn,base,more %O A253576 1,1 %A A253576 _Vincenzo Librandi_, Jan 04 2015 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE