login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A111116
Numbers n such that digits of n are not present in n^4.
11
2, 3, 4, 7, 8, 9, 24, 27, 28, 32, 33, 42, 52, 53, 58, 59, 67, 77, 88, 89, 93, 202, 203, 258, 284, 303, 324, 329, 377, 383, 422, 669, 818, 832, 843, 878, 882, 887, 949, 2027, 2042, 2673, 3144, 3222, 3253, 3302, 3308, 3737, 3773, 3953, 3979, 3983, 4779, 5353, 5669
OFFSET
1,1
COMMENTS
The number of k-digit numbers for which this occurs is: 6,15,18,32,21,14,20,...
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..179 (terms < 10^19, first 136 terms from Chai Wah Wu)
MATHEMATICA
Select[Range[6000], Intersection[IntegerDigits[ # ], IntegerDigits[ #^4]] == {} &] (* Ray Chandler, Oct 17 2005 *)
fQ[n_] := Intersection[ Union[ IntegerDigits[n]], Union[ IntegerDigits[n^4]]] == {}; Select[ Range[ 5887], fQ[ # ] &] (* Robert G. Wilson v *)
PROG
(Python)
A111116_list = [n for n in range(1, 10**6) if set(str(n)) & set(str(n**4)) == set()]
# Chai Wah Wu, Jan 05 2015
CROSSREFS
For the corresponding n^4, see A113316.
Sequence in context: A112736 A059930 A125965 * A113318 A056033 A378269
KEYWORD
base,nonn
AUTHOR
Lekraj Beedassy, Oct 15 2005
EXTENSIONS
Corrected and extended by Robert G. Wilson v and Ray Chandler, Oct 17 2005
STATUS
approved