login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244280 Denominators of the n-th iteration of the alternating continued fraction of the positive integers, initiated with (1 + ...). 4
2, 2, 11, 27, 202, 870, 8129, 50681, 570638, 4673558, 61724211, 627102091, 9514420518, 115483788186, 1980202320561, 27962630844865, 534877446987082, 8615820301234778, 181912525664114699, 3292162161484924619, 76056192127792619858, 1527880958525256735838 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
As n-->inf, a(n) converges to 0.628736607098954801603428...
This is the result of taking the denominator of a continued fraction with alternating signs a(n) = 1/(1+1/(2-1/(3+1/(4-...1/(n +/- 1))))), where addition follows an odd number and subtraction follows an even number.
LINKS
EXAMPLE
a(1) = 1/(1+1) = 1/2;
a(2) = 1/(1+1/(2-1)) = 1/2;
a(3) = 1/(1+1/(2-1/(3+1))) = 7/11;
a(4) = 1/(1+1/(2-1/(3+1/(4-1)))) = 17/27.
MAPLE
seq(denom(numtheory:-cfrac([0, [1, 1], seq([(-1)^j, j], j=2..n), [(-1)^(n+1), 1]])), n = 1..40); # Robert Israel, Jan 17 2016
PROG
(PARI) a(n) = if(n%2==0, s=-1, s=1); t=1; while(n>0, t=n+s/t; n--; s=-s); denominator(t=1/t)
vector(30, n, a(n)) \\ Colin Barker, Jul 20 2014
CROSSREFS
Cf. A244279 (Numerators).
Sequence in context: A175202 A187430 A151365 * A090527 A014220 A089544
KEYWORD
nonn,frac
AUTHOR
Mohamed Sabba, Jun 24 2014
EXTENSIONS
More terms from Colin Barker, Jul 20 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 11:46 EDT 2024. Contains 371241 sequences. (Running on oeis4.)