OFFSET
1,3
LINKS
Fausto A. C. Cariboni, Table of n, a(n) for n = 1..1000
EXAMPLE
a(7)=5 because there are 5 such partitions of 7: {7}, {1,6}, {2,5}, {3,4}, {4,2,1}.
MATHEMATICA
<< DiscreteMath`Combinatorica`; np[n_]:= Length@Select[Mod[ #, 7]& /@ Partitions[n], (Length@# == Length@Union@#)&]; lst = Array[np, 50] (* corrected by Seth A. Troisi, May 17 2022 *)
PROG
(PARI) a(n) = my(nb=0); forpart(p=n, if (#p == #Set(apply(x->(x%7), Vec(p))), nb++)); nb; \\ Michel Marcus, May 18 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Resta, Feb 06 2006
STATUS
approved