OFFSET
1,1
COMMENTS
Smallest m such that m^3 begins with n^2.
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
EXAMPLE
a(4)=55 because 55^3=166375 begins with 4^2=16. - Zak Seidov, Oct 18 2011
MATHEMATICA
s={}; Do[If[n==3, AppendTo[s, 21], k=1; While[(ra=Range[Ceiling[(n^2*10^k)^(1/3)], Floor[((n^2+1)*10^k)^(1/3)]]) == {}, k++]; AppendTo[s, ra[[1]]]], {n, 100}]; s (* Zak Seidov, Oct 18 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved