Given a set of positive integers A={1,2,...,n-1,n}, n>=2. Take subsets of A of the form {1,...,n} so only subsets containing numbers 1 and n are allowed. Then a(1)=1 and a(n) is the number of subsets where arithmetic mean of the subset is an integer.

A147980

Given a set of positive integers A={1,2,...,n-1,n}, n>=2. Take subsets of A of the form {1,...,n} so only subsets containing numbers 1 and n are allowed. Then a(1)=1 and a(n) is the number of subsets where arithmetic mean of the subset is an integer.

Terms

    a(0) =1a(1) =0a(2) =2a(3) =0a(4) =4a(5) =4a(6) =8a(7) =12a(8) =28a(9) =44a(10) =84a(11) =156a(12) =288a(13) =540a(14) =1020a(15) =1904a(16) =3616a(17) =6860a(18) =13024a(19) =24836a(20) =47448a(21) =90772a(22) =174072a(23) =334348a(24) =643112a(25) =1238928a(26) =2389956a(27) =4615916a(28) =8925808a(29) =17278680

External references