Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A138953
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A138953 Sum of numbers from all substrings of n. +0
2
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; listen)
OFFSET

0,12

LINKS

Zak Seidov, Table of n, a(n) for n = 0..1000.

FORMULA

a(n)=A071980(n)-n. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 06 2009]

EXAMPLE

One-digit numbers have no substring, hence a(0..9)=0;

a(10)=1+0=1,

a(123)=1+2+3+12+23=41,

a(150)=1+5+0+15+50=71.

MATHEMATICA

Table[id=IntegerDigits[ n]; Total[Flatten[Table[FromDigits/@ Partition[id, k, 1], {k, Length[id]-1}]]], {n, 0, 150}]

CROSSREFS

Cf. A093882.

Sequence in context: A103693 A117230 A093882 this_sequence A053392 A114925 A043270

Adjacent sequences: A138950 A138951 A138952 this_sequence A138954 A138955 A138956

KEYWORD

nonn,base

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Apr 04 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research