OFFSET
1,1
COMMENTS
The odd version of A100678.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Kevin Brown, Odd-Greedy Unit Fraction Expansions.
Wikipedia, Odd greedy expansion.
EXAMPLE
For n = 1, 1-1/(2n+1) = 2/3 = 1/3 + 1/5 + 1/9 + 1/45 has 4 fractions in the representation, thus a(1) = 4.
MATHEMATICA
odd[n_]:=If[OddQ[n], n, n+1]; a={}; For[n=0, n<100, n++; lst={}; k=2n/(2n+1); s1=0; While[k>0, s2=odd[Ceiling[1/k]]; If[s2==s1, s2+=2]; AppendTo[lst, s2]; k=k-1/s2; s1=s2]; a=AppendTo[a, Length[lst]]]; a
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 30 2017
STATUS
approved