OFFSET
1,3
COMMENTS
LINKS
Colin Barker, Table of n, a(n) for n = 1..120
EXAMPLE
a(4) = 17 because the first 4 positive Fibonacci numbers are [1,1,2,3], and 4/(1/1+1/1+1/2+1/3) = 24/17.
MATHEMATICA
Module[{nn=20, f}, f=Fibonacci[Range[nn]]; Table[HarmonicMean[Take[f, n]], {n, nn}]]//Denominator (* Harvey P. Dale, Aug 31 2020 *)
PROG
(PARI) s=vector(30); f=Vec(x/(1-x-x^2)+O(x^(#s+1))); n=d=0; for(k=1, #s, n++; d+=1/f[k]; s[k]=denominator(n/d)); s
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Colin Barker, Nov 27 2014
STATUS
approved