OFFSET
0,3
FORMULA
MATHEMATICA
Table[2^n-IntegerLength[2^n], {n, 0, 40}] (* Harvey P. Dale, Apr 05 2015 *)
PROG
(PARI) a(n) = 2^n - length(digits(2^n)) \\ Michel Marcus, Jul 18 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rolf Pleisch, May 23 2008
EXTENSIONS
More terms from N. J. A. Sloane, Jun 29 2008
STATUS
approved