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.

A253575 Primes p such that digits of p do not appear in p^6.

This page as a plain text file.
%I A253575 #17 May 26 2025 14:55:03
%S A253575 2,3,13,44449
%N A253575 Primes p such that digits of p do not appear in p^6.
%C A253575 a(5) > 10^9. - _Chai Wah Wu_, Jan 05 2015
%e A253575 2 and 2^6 = 64 have no digits in common, hence 2 is in the sequence.
%p A253575 select(t -> isprime(t) and convert(convert(t,base,10),set) intersect convert(convert(t^6,base,10),set) = {},
%p A253575 {2, seq(i,i=3..10^5,2)}); # _Robert Israel_, May 25 2025
%t A253575 Select[Prime[Range[1000000]], Intersection[IntegerDigits[#], IntegerDigits[#^6]]=={} &]
%o A253575 (Python)
%o A253575 from sympy import isprime
%o A253575 A253575_list = [n for n in range(1,10**6) if set(str(n)) & set(str(n**6)) == set() and isprime(n)]
%o A253575 # _Chai Wah Wu_, Jan 05 2015
%Y A253575 Primes in A281148.
%Y A253575 Cf. similar sequences listed in A253574.
%K A253575 nonn,base,more
%O A253575 1,1
%A A253575 _Vincenzo Librandi_, Jan 04 2015