[go: up one dir, main page]

login
A253576
Primes p such that digits of p do not appear in p^7.
2
3, 7, 43, 7757, 31333
OFFSET
1,1
COMMENTS
a(6)> 10^7.
a(6) > 10^9. - Chai Wah Wu, Jan 05 2015
EXAMPLE
3 and 3^7 = 2187 have no digits in common, hence 3 is in the sequence.
MATHEMATICA
Select[Prime[Range[1000000]], Intersection[IntegerDigits[#], IntegerDigits[#^7]]=={} &]
PROG
(Python)
from sympy import isprime
A253576_list = [n for n in range(1, 10**6) if set(str(n)) & set(str(n**7)) == set() and isprime(n)]
# Chai Wah Wu, Jan 05 2015
CROSSREFS
Cf. similar sequences listed in A253574.
Sequence in context: A050639 A280717 A100837 * A354428 A328690 A019011
KEYWORD
nonn,base,more
AUTHOR
Vincenzo Librandi, Jan 04 2015
STATUS
approved