OFFSET
1,4
LINKS
George E. Andrews and Mircea Merca, On the Number of Even Parts in All Partitions of n into Distinct Parts, Ann. Comb. 24, 47-54 (2020).
Nyirenda Darlison and Mugwangwavari Beaullah, Extentions and variations of Andrews-Merca identities, arXiv:2205.03697 [math.CO], 2022. See p. 7 ff.
Shishuo Fu and Dazhao Tang, Generalizing a partition theorem of Andrews, arXiv:1705.05046 [math.CO], 2017.
PROG
(PARI) a(n) = {my(nbp=0); forpart(p=n, my(s=Set(p), nbor=0, vp=Vec(p)); for (i=1, #s, if (((s[i] % 2) == 1) && (#select(x->(x==s[i]), vp) > 1), nbor++); ); if (nbor == 1, nbp++); ); nbp; }
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, May 10 2022
STATUS
approved