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
KEYWORD
nonn,base
AUTHOR
Derek Orr, Jan 02 2014
STATUS
approved