OFFSET
1,3
FORMULA
A115856(n) = a(n+1) - a(n).
EXAMPLE
a(4) = #{1/2+1/2, 1/2+1/4+1/4, 1/3+2/3, 1/3+1/3+1/3, 1/4+3/4, 1/4+1/4+1/4+1/4} = 6.
MATHEMATICA
Table[Length@ Select[Flatten[Map[IntegerPartitions[1, {#}, Rest@ Union[Flatten@ TensorProduct[#, 1/#] &@ Range@ n /. {_Integer -> 0, k_ /; k > 1 -> 0}]] &, Range@ n], 1], Total@ # == 1 &], {n, 25}] (* Michael De Vlieger, Jul 15 2016 *) (* or *)
a[n_] := Sum[ Length@ IntegerPartitions[1, {k}, Union@ Flatten[ Table[i/j, {j, n}, {i, j-1}]]], {k, n}]; Array[a, 20] (* Giovanni Resta, Jun 15 2017 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Reinhard Zumkeller, Feb 01 2006
EXTENSIONS
More terms from Michael De Vlieger, Jul 15 2016
STATUS
approved