OFFSET
0,10
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
M. D. Hirschhorn and M. V. Subbarao, On the parity of p(n), Acta Arith., L (1988), 355-356. See p. 2.
MATHEMATICA
a[n_] := Module[{k = 0}, While[!OddQ[PartitionsP[16*k + n]], k++]; k]; Array[a, 100, 0] (* Amiram Eldar, Jul 14 2022 *)
PROG
(PARI) a(n) = my(k=0); while (!(numbpart(16*k+n) % 2), k++); k;
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Jul 14 2022
STATUS
approved