OFFSET

1,2

COMMENTS

It appears that A066897 is also another version of this sequence but with the parts written in nonincreasing order.

LINKS

Alois P. Heinz, Table of n, a(n) for n = 1..1000

EXAMPLE

a(6) = 37 - 29 = 8 because the partitions of 6 written in nondecreasing order are

.

. 6 = 6

. 3 - 3 = 0

. 2 - 4 = -2

. 2 - 2 + 2 = 2

. 1 - 5 = -4

. 1 - 2 + 3 = 2

. 1 - 1 + 4 = 4

. 1 - 1 + 2 - 2 = 0

. 1 - 1 + 1 - 3 = -2

. 1 - 1 + 1 - 1 + 2 = 2

. 1 - 1 + 1 - 1 + 1 - 1 = 0

----------------------------------

. 20 - 21 + 14 - 7 + 3 - 1 = 8

CROSSREFS

KEYWORD

nonn

AUTHOR

Omar E. Pol, Feb 12 2012

EXTENSIONS

More terms from Alois P. Heinz, Feb 12 2012

STATUS

approved