OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Woodall Number.
EXAMPLE
Sum of all 1-digit Woodall numbers is 1 + 7 = 8.
Sum of all 2-digit Woodall numbers is 23 + 63 = 86.
Sum of all 3-digit Woodall numbers is 159 + 383 + 895 = 1437.
MATHEMATICA
digNum[n_] := Length @ IntegerDigits[n]; woodall[n_] := n * 2^n - 1; digCount = 0; sum = 0; cumsum = {}; Do[w = woodall[n]; If[digNum[w] > digCount, digCount++; AppendTo[cumsum, sum]]; sum += w, {n, 1, 65}]; Differences[cumsum] (* Amiram Eldar, Nov 30 2019 *)
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Parthasarathy Nambi, Oct 23 2007
EXTENSIONS
More terms from Amiram Eldar, Nov 30 2019
STATUS
approved