A065645 Continued fraction for twin prime constant.
0, 1, 1, 1, 16, 2, 2, 2, 2, 1, 18, 2, 2, 11, 1, 1, 2, 4, 1, 16, 3, 2, 4, 21, 2, 405, 2, 1, 33, 1, 2, 8, 2, 29, 1, 4, 4, 4, 4, 1, 9, 3, 1, 4, 1, 1, 2, 26, 1, 8, 2, 6, 1, 4, 1, 3, 9, 46, 1, 6, 1, 1, 4, 2, 1, 12, 1, 1, 7, 35, 1, 1, 2, 1, 4, 1199, 2, 3, 1, 2, 3, 3, 13, 15, 4, 1, 1, 1, 10, 9, 6, 3, 1, 3, 1
Offset: 0
Examples
1/(1+1/(1+1/(1+1/(16+1/(2+1/(2+1/(2+1/(2+1/(1+1/(18+...)))))))))).
Links
- Harry J. Smith, Table of n, a(n) for n = 0..981
Crossrefs
Programs
-
PARI
{ default(realprecision,1002); c2=\ 0.66016181584686957392781211001455577843262336028473341331944842333\ 5405642304495277143760031413839867911779005226693304002965847755123\ 3662277471657132139869687410976206302141537354348531315960978036699\ 3213525529976719930247459059310108297829155383446929750520591665713\ 3653611991532464281301172462306379341060056466676584434063501649322\ 7235289680109349664756004788123579627894598424336557493755818548141\ 7362867809870596949870384124336338658931196907915004057371781437108\ 1810615401233104810577794415613125444598860988997585328984038108718\ 0355252617198871121363828087823497223742240971426974417644552252655\ 4899482977179097778404375789195659064999456706290782860882839599039\ 4287082529070521554595671723599449769037800675978761690802426600295\ 7110920996337082725592846721298580011486979418554018246398874939417\ 1182852838236599705032872570808798066220106863047430520199239428201\ 4311102297265141514194258422242375342296879836738796224286600285358\ 098482833679152235700192585875285961205994728621007171131607980572; x=contfrac(c2); for (n=1, 982, write("b065645.txt", n-1, " ", x[n])); } \\ Harry J. Smith, May 15 2009