cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A326180 Number of maximal subsets of {1..n} containing n whose product is divisible by their sum.

Original entry on oeis.org

0, 1, 1, 1, 1, 1, 3, 1, 1, 1, 11, 1, 16, 1, 1, 1, 27, 1
Offset: 0

Views

Author

Gus Wiseman, Jun 13 2019

Keywords

Examples

			The a(6) = 3, a(10) = 11, and a(12) = 16 subsets:
  {1,3,5,6}    {1,2,4,5,6,7,10}      {1,2,3,4,5,6,7,8,12}
  {1,2,3,4,6}  {1,2,3,4,5,7,8,10}    {1,3,4,5,6,7,8,10,12}
  {2,3,4,5,6}  {1,2,3,4,6,7,9,10}    {1,3,4,6,7,8,9,10,12}
               {1,2,3,5,6,7,8,10}    {1,3,4,5,6,8,10,11,12}
               {1,2,3,5,7,8,9,10}    {1,2,3,4,5,6,8,9,10,12}
               {1,2,5,6,7,8,9,10}    {1,2,3,4,6,7,8,9,11,12}
               {1,3,4,5,6,7,9,10}    {1,2,3,5,6,7,8,9,10,12}
               {1,3,4,6,7,8,9,10}    {1,2,3,5,6,7,8,9,11,12}
               {1,4,5,6,7,8,9,10}    {1,3,4,5,6,7,8,9,11,12}
               {1,2,3,4,5,6,8,9,10}  {1,2,3,4,6,7,8,10,11,12}
               {2,3,4,5,6,7,8,9,10}  {1,2,3,4,6,8,9,10,11,12}
                                     {1,3,5,6,7,8,9,10,11,12}
                                     {1,2,3,4,5,6,7,9,10,11,12}
                                     {1,2,3,4,5,7,8,9,10,11,12}
                                     {1,2,4,5,6,7,8,9,10,11,12}
                                     {2,3,4,5,6,7,8,9,10,11,12}
		

Crossrefs

Programs

  • Mathematica
    fasmax[y_]:=Complement[y,Union@@(Most[Subsets[#]]&/@y)];
    Table[Length[fasmax[Select[Subsets[Range[n],{1,n}],MemberQ[#,n]&&Divisible[Times@@#,Plus@@#]&]]],{n,0,10}]

Formula

a(A060462(n)) = 1.