login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A253577 Primes p such that digits of p do not appear in p^8. 2

%I #14 Jan 08 2015 17:36:44

%S 3,43,59,73,233,353

%N Primes p such that digits of p do not appear in p^8.

%C a(7) > 10^7.

%C Subsequence of A253606. a(7) > 10^9. - _Chai Wah Wu_, Jan 05 2015

%e 3 and 3^8 = 6561 have no digits in common, hence 3 is in the sequence.

%t Select[Prime[Range[1000000]], Intersection[IntegerDigits[#], IntegerDigits[#^8]]=={} &]

%o (Python)

%o from sympy import isprime

%o A253577_list = [n for n in range(1,10**6) if set(str(n)) & set(str(n**8)) == set() and isprime(n)]

%o # _Chai Wah Wu_, Jan 05 2015

%Y Cf. similar sequences listed in A253574.

%K nonn,base,more

%O 1,1

%A _Vincenzo Librandi_, Jan 04 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 11:48 EDT 2024. Contains 371779 sequences. (Running on oeis4.)