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”).
%I #13 Mar 21 2020 16:33:42
%S 0,125,15625,2515456,365525875,3553559576,1654755935552,535585155561,
%T 1552755855549592,32585555653355125,5555455662315755503,
%U 10355855655959525557,1587453553555655755059,55569505975375555595375,5454055655655586555645952
%N Smallest cube containing exactly n 5's.
%C a(n)^(1/3) = A048370(n) is the index of the first occurrence of n in sequence A269245. - _M. F. Hasler_, Feb 21 2016
%H Giovanni Resta, <a href="/A036532/b036532.txt">Table of n, a(n) for n = 0..21</a>
%F a(n) = A048370(n)^3. - _M. F. Hasler_, Feb 21 2016
%t nsmall = Table[Infinity, 20];
%t For[i = 0, i <= 10^6, i++, n0 = Count[IntegerDigits[i^3], 5];
%t If[nsmall[[n0 + 1]] > i^3, nsmall[[n0 + 1]] = i^3]];
%t Cases[nsmall, _?NumberQ] (* _Robert Price_, Mar 21 2020 *)
%Y Cf. A048370, A036527 - A036536 for other digits 0 - 9.
%K nonn,base
%O 0,2
%A _David W. Wilson_
%E Extended with a(0) = 0 by _M. F. Hasler_, Feb 21 2016
%E a(12)-a(14) from _Giovanni Resta_, Jun 29 2018