

A093882


Sum of all the numbers formed by deleting one digit from n.


3



0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 8, 9, 10, 11, 12, 13, 14, 15
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,12


COMMENTS

Subsidiary sequence: Sum of the numbers formed by deleting all possible strings touching one end ( containing at least one of the LSB or MSB). a(123) = 123 + 12 + 1 + 23 + 3 = 162. a(1234) = 1 + 12 + 123 + 1234 + 234 + 34 + 4 = 1642.
This allows leading zeros are after deletion. If these are forbidden, the first change would be a(101) = 21 instead of 22.  Franklin T. AdamsWatters, Jul 27 2006


LINKS

Table of n, a(n) for n=1..88.


EXAMPLE

a(123) = 12 +13+ 23 = 48.


MATHEMATICA

sn[n_]:=Module[{idn=IntegerDigits[n]}, Total[FromDigits/@Table[ Delete[ idn, i], {i, Length[idn]}]]]; Array[sn, 90, 0] (* Harvey P. Dale, Jul 24 2017 *)


CROSSREFS

Cf. A007953.
Sequence in context: A103693 A117230 * A138953 A053392 A114925 A043270
Adjacent sequences: A093879 A093880 A093881 * A093883 A093884 A093885


KEYWORD

base,nonn


AUTHOR

Amarnath Murthy, Apr 22 2004


EXTENSIONS

Corrected and extended by Franklin T. AdamsWatters, Jul 27 2006
Example corrected by Harvey P. Dale, Jul 24 2017


STATUS

approved



