A118835 Numerators of n-th convergent to continued fraction with semiprime terms.
4, 25, 229, 2315, 32639, 491900, 10362539, 228467758, 5722056489, 149001936472, 4922785960065, 167523724578682, 5868253146213935, 223161143280708212, 8709152841093834203, 400844191833597081550, 19650074552687350830153, 1002554646378888489419353, 55160155625391554268894568
Offset: 1
Examples
a(1) = 4 = numerator of 4/1. a(2) = 25 = numerator of 25/6 = 4+1/6. a(3) = 229 = numerator of 229/55 = 4+1/(6+1/9). a(4) = 2315 = numerator of 2315/556 = 4+1/(6+1/(9+(1/10))).
Links
- Eric Weisstein's World of Mathematics, Continued Fraction Constant.
Programs
-
Mathematica
sp = Select[Range[10^3], PrimeOmega[#] == 2 &]; Numerator@ Table[ FromContinuedFraction[ Take[sp, i]], {i, 20}] (* Giovanni Resta, Jun 16 2016 *)
Formula
Extensions
Data corrected by Giovanni Resta, Jun 16 2016
Comments