cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

User: Khalil Ayadi

Khalil Ayadi's wiki page.

Khalil Ayadi has authored 2 sequences.

A380194 Continued fraction expansion of Sum_{i>=0} (-1)^i/(q(i)*q(i+1)) where q(0)=q(1)=1, q(3n+2)=q(3n+1)+q(3n), q(3n+3)=q(3n+2)+q(3n+1), and q(3n+4)=q(3n+2)*(q(3n+2)*q(3n+3)+1).

Original entry on oeis.org

0, 1, 1, 1, 4, 1, 1, 289, 1, 1, 81126049, 1, 1, 2128359349797626142548649, 1, 1, 38565134716822109850786884343127955049217538196275147632486387905655060249, 1, 1
Offset: 0

Author

Khalil Ayadi, Jan 15 2025

Keywords

Comments

This is a transcendental number.
The n-th convergent of a(0..n) has q(n) as denominator.
Thus a(3*n+2) = a(3*n+3)=1 and a(3*n+4) = q(3*n+2)^2 for n>=1 are the results of repeatedly appending a triple of terms 1,1,Q^2 where Q is the convergent denominator after the first new 1.
The recurrence for q follows from this construction, and the alternating series is the continued fraction value for any sequence of convergent denominators.
This structure leads to the series and the recurrence for q.
Sum_{i>=0} (-1)^i/x(i) is another way to write the series, where x(i) = q(i)*q(i+1). When x(0)=1 , x(3n+2) divides x(3n+3), x(3n+2)-x(3n+1)=((x(3n+1))/x(3n))*(x(3n-1)/x(3n-2))*(x(3n-3)/x(3n-4))...(x(2)/x(1)))^2,x(3n+4)-x(3n+3)=(x(3n+3)/x(3n+2))^2*(x(3n+2)-x(3n+1)).

Examples

			0 + 1/(1 + 1/(1 + 1/(1 + ... ))) = 0.645164877940276...
		

Crossrefs

Programs

  • PARI
    q(n) = if (n<=1, 1, if (n%3==1, q(n-2)*(q(n-2)*q(n-1)+1), q(n-1)+q(n-2)));
    a(n) = if (n==0, 0, if ((n%3)==1, q(n-2)^2, 1)); \\ Michel Marcus, Jan 17 2025

A380013 Continued fraction expansion of Sum_{i>=0} (-1)^i/(q(i)*q(i+1)) where q(0)=q(1)=1, q(2n+2)=q(2n+1)+q(2n), and q(2n+3)=q(2n+1)*(q(2n+2)+1).

Original entry on oeis.org

0, 1, 1, 1, 1, 3, 1, 18, 1, 432, 1, 196992, 1, 38895676416, 1, 1512881323731695591424, 1, 2288809899755012359448064967916189926490112, 1
Offset: 0

Author

Khalil Ayadi, Jan 09 2025

Keywords

Comments

a(19) has 85 decimal digits and a(21) has 170 decimal digits.
This number is transcendental.
q(n) is the denominator of the convergent resulting from terms a(0..n).
The continued fraction is constructed by successively appending a pair of terms 1 and its own q(n) so far, so a(2*n) = 1 and a(2*n+1) = q(2*n-1) for n>=1
The series and the recurrence for q follows from that construction.
The series can also be written Sum_{i>=0} (-1)^i/x(i) where x(i) = q(i)*q(i+1) and in that case x(0)=1, x(2n+1) divides x(2n+2), and x(2n+3) = ((x(2n+2)/x(2n+1))*(x(2n)/x(2n-1))*...*(x(2)/x(1)))^2 + x(2n+2).

Examples

			0 + 1/(1 + 1/(1 + 1/(1 + ... ))) = 0.6087912199223083952132365...
		

Crossrefs

Programs

  • PARI
    Q(n) = {my(v=vector(n+1)); v[1]=v[2]=1; for(i=2, n, v[i+1] = if(i%2==0, v[i]+v[i-1], v[i-1]*(v[i]+1))); v}
    seq(n)=my(q=Q(max(2,n-2))); vector(n+1, n, if(n%2 || n<4, n>1, q[n-2])) \\ Andrew Howroyd, Jan 13 2025