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”).

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
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
Sequence in context: A028807 A242994 A070791 * A016084 A007618 A004748
KEYWORD
base,nonn
AUTHOR
Claudio Meller, Mar 01 2010
EXTENSIONS
Corrected and extended by Harvey P. Dale, Aug 08 2016
STATUS
approved