OFFSET
0,3
LINKS
Wikipedia, Geometric mean
EXAMPLE
The a(1) = 1 through a(9) = 19 subsets:
{1} {1} {1} {1} {1} {1} {1} {1} {1}
{2} {2} {2} {2} {2} {2} {2} {2}
{3} {3} {3} {3} {3} {3} {3}
{4} {4} {4} {4} {4} {4}
{1,4} {5} {5} {5} {5} {5}
{1,2,4} {1,4} {6} {6} {6} {6}
{1,2,4} {1,4} {7} {7} {7}
{1,2,4} {1,4} {8} {8}
{1,2,4} {1,4} {9}
{2,8} {1,4}
{1,2,4} {1,9}
{2,4,8} {2,8}
{4,9}
{1,2,4}
{1,3,9}
{2,4,8}
{3,8,9}
{4,6,9}
{3,6,8,9}
MATHEMATICA
Table[Length[Select[Subsets[Range[n]], IntegerQ[GeometricMean[#]]&]], {n, 0, 10}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 14 2019
STATUS
approved