OFFSET
0,3
EXAMPLE
For n = 4 the a(4) = 7 subsets are:
{} because 0 < 1,
{2} because 1/2 < 1,
{2, 3} because 1/2 + 1/3 = 5/6 < 1,
{2, 4} because 1/2 + 1/4 = 3/4 < 1,
{3} because 1/3 < 1,
{3, 4} because 1/3 + 1/4 = 7/12 < 1, and
{4} because 1/4 < 1.
MATHEMATICA
a[n_] := 1 + Length@ Select[Subsets[Range[2, n], {1, n-1}], Total[1/#] < 1 &]; Array[a, 15] (* Giovanni Resta, Jun 01 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Kagey, Jun 01 2018
EXTENSIONS
a(26)-a(36) from Giovanni Resta, Jun 01 2018
STATUS
approved