|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The number of k-digit numbers for which this occurs is: 6,15,18,32,21,14,20,...
|
|
LINKS
|
|
|
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()]
|
|
CROSSREFS
|
For the corresponding n^4, see A113316.
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|