|
|
A173901
|
|
Numbers n with property that the square of each digit of n is a substring of n^3
|
|
1
|
|
|
1, 5, 10, 11, 13, 17, 22, 31, 33, 50, 100, 101, 103, 110, 111, 112, 113, 118, 122, 130, 131, 170, 202, 220, 222, 233, 301, 310, 327, 330, 331, 332, 333, 446, 500, 501, 525, 545, 565, 961, 1000, 1001, 1003, 1005, 1010, 1011, 1012, 1013, 1021, 1022, 1030, 1031
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MATHEMATICA
|
sdsQ[n_]:=Module[{idn3=IntegerDigits[n^3], idn2=IntegerDigits/@ (IntegerDigits[ n]^2)}, And@@Table[SequenceCount[idn3, idn2[[i]]]>0, {i, Length[idn2]}]]; Select[Range[1500], sdsQ] (* The program uses the SequenceCount function from Mathematica version 10 *) (* Harvey P. Dale, Aug 08 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|