OFFSET
1,5
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[ Coefficient[ Series[ Times@@((1+z^#)&/@Select[ Range[ q ], GCD[ #, q ]===1& ]), { z, 0, q} ], z^q ], {q, 128} ]
PROG
(Haskell)
a036998 n = p (a038566_row n) n where
p _ 0 = 1
p [] _ = 0
p (k:ks) m = if m < k then 0 else p ks (m - k) + p ks m
-- Reinhard Zumkeller, Jul 05 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by Amiram Eldar, Apr 24 2020
STATUS
approved