OFFSET
1,1
COMMENTS
Take half of the first difference of odd nonprimes A014076 and treat it as a continued fraction. This sequence gives the decimal expansion of that number. - Charles R Greathouse IV, Feb 03 2011
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
EXAMPLE
4.30323930198312254750725653712946101100587498256159332769966371810867...
MATHEMATICA
a = Flatten[Table[If[PrimeQ[2*n + 1], {}, 2*n - 1], {n, 0, 200}]]; b = Table[(a[[n + 1]] - a[[n]])/2, {n, 1, Length[a] - 1}]; FromContinuedFraction[b]; c = N[%, 200]; Table[Floor[Mod[c*10^n, 10]], {n, 0, 201}] (* Bagula and Adamson *)
RealDigits[FromContinuedFraction[Differences[Select[Range[-1, 399, 2], !PrimeQ[# + 2]&]]/2], 10, 201][[1]] (* Charles R Greathouse IV, Feb 03 2011 *)
PROG
(PARI) a=contfracpnqn(D(select(vector(99, n, 2*n-1), x->!isprime(x)))/2); a[1, 1]/a[2, 1]*1. /* OK for 35 digits. For D(.) see A137822 */ \\ M. F. Hasler, Sep 29 2011
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Roger L. Bagula and Gary W. Adamson, Sep 27 2008
STATUS
approved