The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A173901 Numbers n with property that the square of each digit of n is a substring of n^3 1

%I #6 Aug 08 2016 15:13:24

%S 1,5,10,11,13,17,22,31,33,50,100,101,103,110,111,112,113,118,122,130,

%T 131,170,202,220,222,233,301,310,327,330,331,332,333,446,500,501,525,

%U 545,565,961,1000,1001,1003,1005,1010,1011,1012,1013,1021,1022,1030,1031

%N Numbers n with property that the square of each digit of n is a substring of n^3

%H Harvey P. Dale, <a href="/A173901/b173901.txt">Table of n, a(n) for n = 1..1000</a>

%t 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 *)

%K base,nonn

%O 1,2

%A _Claudio Meller_, Mar 01 2010

%E Corrected and extended by _Harvey P. Dale_, Aug 08 2016

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 31 22:08 EDT 2024. Contains 373005 sequences. (Running on oeis4.)