OFFSET
1,1
COMMENTS
Leading zeros are not allowed.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
125 and 512 are both in the sequence because 5^3 = 125 and 8^3 = 512.
MAPLE
S:= {}:
for x from 1 to 10^3 do
L:= sort(convert(x^3, base, 10));
if assigned(R[L]) then S:= S union {x^3, R[L]}
else R[L]:= x^3
fi
od:
sort(convert(S, list)); # Robert Israel, Nov 12 2015
MATHEMATICA
Select[Range[360]^3, AnyTrue[Rest[FromDigits /@ Permutations@ IntegerDigits@ #], Function[x, IntegerQ@ Power[x, 1/3] && IntegerLength@ x == IntegerLength@ #]] &] (* Michael De Vlieger, Nov 12 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved