login

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”).

A048368
a(n)^3 is smallest cube containing exactly n 3's.
10
17, 7, 179, 477, 707, 6935, 15477, 44197, 535677, 693368, 2028209, 7566137, 32215777, 62446477, 322024127, 2027400657, 5171307877, 15373346477, 28575396477, 237304541491, 322033146477, 5105022776547, 4536383124177
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Cubic Number
EXAMPLE
477^3 = 108531333 is the first cube containing four 3's, so a(4) = 477.
MATHEMATICA
nsmall = Table[Infinity, 15];
For[i = 0, i <= 10^6, i++, n0 = Count[IntegerDigits[i^3], 3];
If[nsmall[[n0]] > i, nsmall[[n0]] = i]];
Cases[nsmall, _?NumberQ] (* Robert Price, Mar 20 2020 *)
KEYWORD
nonn,base,more
AUTHOR
Patrick De Geest, Mar 15 1999
EXTENSIONS
a(14)-a(16) from Simon Nickerson (simonn(AT)maths.bham.ac.uk), Aug 12 2005
a(17)-a(20) from Lars Blomberg, Jun 12 2011
a(21)-a(23) from Giovanni Resta, Jun 29 2018
STATUS
approved