A036527 Smallest cube containing exactly n 0's.
1, 0, 140608, 1000, 4096000, 140608000, 1000000, 4096000000, 140608000000, 1000000000, 4096000000000, 140608000000000, 1000000000000, 4096000000000000, 140608000000000000, 1000000000000000, 4096000000000000000, 140608000000000000000, 1000000000000000000, 4096000000000000000000, 140608000000000000000000, 1000000000000000000000
Offset: 0
Crossrefs
Programs
-
Mathematica
nsmall = Table[Infinity, 20]; For[i = 0, i <= 10^6, i++, n0 = Count[IntegerDigits[i^3], 0]; If[nsmall[[n0 + 1]] > i^3, nsmall[[n0 + 1]] = i^3]]; Cases[nsmall, ?NumberQ] (* _Robert Price, Mar 20 2020 *)
Formula
a(n) = A048365(n)^3; a(3n) = 10^(3n); a(3n+1) <= 4096*10^(3n) = (16*10^n)^3 for n>0; a(3n+2) <= 140608*10^(3n) = (52*10^n)^3, with equality for all known terms. - M. F. Hasler, Feb 20 2016
Extensions
Extended to a(0) = 1 and three lines of data completed by M. F. Hasler, Feb 20 2016
Comments