A061435 a(n) is the largest n-digit cube.
8, 64, 729, 9261, 97336, 970299, 9938375, 99897344, 997002999, 9993948264, 99961946721, 999700029999, 9999516957184, 99994258523375, 999970000299999, 9999934692543307, 99999429057832312, 999997000002999999
Offset: 1
Examples
a(4) = 9261 = 21^3 has 4 digits while 22^3 = 10648 has 5 digits.
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Maple
A061435 := n->(ceil(10^(n/3))-1)^3;
-
Mathematica
Table[Floor[Surd[10^n-1,3]]^3,{n,20}] (* Harvey P. Dale, Apr 02 2020 *)
Formula
a(n) = (ceiling(10^(n/3)) - 1)^3. - Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Mar 30 2003
Extensions
More terms from Larry Reeves (larryr(AT)acm.org), May 16 2001