OFFSET
1,1
MATHEMATICA
sdQ[n_]:=Module[{c=Union/@(IntegerDigits/@{n, n^2, n^3})}, c[[1]] == c[[2]] == c[[3]]]; Select[Prime[Range[8400000]], sdQ] (* Harvey P. Dale, Jan 10 2012 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Offset changed by Andrew Howroyd, Aug 11 2024
STATUS
approved