A036534 Smallest cube containing exactly n 7's.
0, 27, 17576, 571787, 5177717, 7797729087, 25750777177, 7707245470777, 744736797077707, 17373777757776999, 77777383297757779, 77077787864771842777, 2717772770751727979277, 74677779777959671778577, 787773477172377877676776, 77227778717777797207914717
Offset: 0
Links
- Giovanni Resta, Table of n, a(n) for n = 0..22
Crossrefs
Programs
-
Mathematica
nsmall = Table[Infinity, 20]; For[i = 0, i <= 10^6, i++, n0 = Count[IntegerDigits[i^3], 7]; If[nsmall[[n0 + 1]] > i^3, nsmall[[n0 + 1]] = i^3]]; Cases[nsmall, ?NumberQ] (* _Robert Price, Mar 21 2020 *)
Formula
a(n) = A048372(n)^3. - M. F. Hasler, Feb 21 2016
Extensions
Extended with a(0) = 0 by M. F. Hasler, Feb 21 2016
a(11)-a(15) from Giovanni Resta, Jun 29 2018
Comments