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!)
A119517 The first 10 digits of the cube root of n contain the digits 0-9. 0

%I #13 Oct 01 2013 17:58:25

%S 2017,3053,9950,15139,15533,18357,24214,24424,31457,32654,39605,46705,

%T 47776,57692,60448,65839,65854,66999,67405,68512,70239,73985,74283,

%U 74493,77913,79600,82431,83311,84467,91571,95557

%N The first 10 digits of the cube root of n contain the digits 0-9.

%C i = 2 produces A113507 in the PARI script.

%e n=9950. n^(1/3) = 21.50837964..., so 9950 is the third entry.

%t Select[Range[100000],Sort[RealDigits[Surd[#,3],10,10][[1]]]==Range[0,9]&] (* _Harvey P. Dale_, Jan 22 2013 *)

%o (PARI) \\ The first 10 digits of i-th root of x contain all of the digits 0-9. rootdigits(n,i) = { local(f,x,y,a,d,s); for(x=2,n, f=[0,0,0,0,0,0,0,0,0,0]; s=0; y=(x^(1/i))*10^9; a=Vec(Str(y)); for(d=1,10, k=eval(a[d]); if(k==0,k=10); f[k]=1; ); for(j=1,10,s+=f[j]); if(s==10,print1(x",")); ) }

%Y Cf. A113507.

%K base,easy,nonn

%O 1,1

%A _Cino Hilliard_, May 27 2006

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 29 10:22 EDT 2024. Contains 372929 sequences. (Running on oeis4.)