0,7

Reinhard Zumkeller, Table of n, a(n) for n = 0..555

a(12) = #{12, 9+2+1, 6+4+2} = 3;

a(24) = #{20+4, 16+6+2, 12+9+2+1, 12+6+4+2} = 4.

(Haskell)

a197081 = p (drop 2 a002620_list) where

p _ 0 = 1

p (k:ks) m | m < k = 0

| otherwise = p ks (m - k) + p ks m

Cf. A197122, A002378, A000290, A000009.

Sequence in context: A000003 A234398 A168208 * A029395 A029282 A289494

Adjacent sequences: A197078 A197079 A197080 * A197082 A197083 A197084

nonn

Reinhard Zumkeller, Oct 10 2011

approved