login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A234964
Numbers of the form 123...n - (n+1)
1
9, 119, 1229, 12339, 123449, 1234559, 12345669, 123456779, 12345678899, 1234567890999, 123456789101099, 12345678910111199, 1234567891011121299, 123456789101112131399, 12345678910111213141499, 1234567891011121314151599, 123456789101112131415161699
OFFSET
2,1
EXAMPLE
a(3) = 123 - 4 = 119.
a(4) = 1234 - 5 = 1229.
a(5) = 12345 - 6 = 12339.
etc.
PROG
(Python)
def Concatenate(x):
..num = ''
..for n in range(1, x+1):
....num += str(n)
..return int(num)
{print(Concatenate(x)-(x+1)) for x in range(1, 50)}
CROSSREFS
Cf. A007908.
Sequence in context: A340236 A087984 A197544 * A210046 A130652 A054051
KEYWORD
nonn,base
AUTHOR
Derek Orr, Jan 02 2014
STATUS
approved