|
Search: id:A139036
|
|
|
| A139036 |
|
a(n) = the number of 1's in the continued fraction expansion of the nth harmonic number, H(n) = sum{k=1 to n} 1/k. |
|
+0 1
|
| |
|
|
OFFSET
|
1,3
|
|
|
EXAMPLE
|
The 7th harmonic number is 1 + 1/2 + 1/3 + 1/4 + 1/5 + 1/6 + 1/7 = 363/140, which has the continued fraction representation 2 + 1/(1 + 1/(1 + 1/(2 + 1/(5 + 1/5)))) = [2;1,1,2,5,5]. There are exactly two 1's in the continued fraction representation, so a(7) = 2.
|
|
CROSSREFS
|
Cf. A100398.
Adjacent sequences: A139033 A139034 A139035 this_sequence A139037 A139038 A139039
Sequence in context: A085341 A063918 A097974 this_sequence A090330 A132747 A053399
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
Leroy Quet (qq-quet(AT)mindspring.com), May 31 2008
|
|
|
Search completed in 0.002 seconds
|