Let B be a nonempty and proper subset of A_n = {1,2,...,p_n-1}, where p_n is the n-th prime. Let C be the complement of B, so that the union B and C is A_n. a(n) is half the number of sums of products of elements of B and elements of C which are divisible by p_n, when B runs through all such subsets of A_n.

A238446

Let B be a nonempty and proper subset of A_n = {1,2,...,p_n-1}, where p_n is the n-th prime. Let C be the complement of B, so that the union B and C is A_n. a(n) is half the number of sums of products of elements of B and elements of C which are divisible by p_n, when B runs through all such subsets of A_n.

Terms

    a(0) =0a(1) =1a(2) =3a(3) =11a(4) =103a(5) =343a(6) =4095a(7) =14571a(8) =190651a(9) =9586983a(10) =35791471a(11) =1908874583a(12) =27487790719a(13) =104715393911

External references