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.

A222472 Numerator sequence of the n-th convergent of the continued fraction 1/(1+3/(2+3/(3+3/(4+...

This page as a plain text file.
%I A222472 #19 Feb 22 2025 21:29:37
%S A222472 1,2,9,42,237,1548,11547,97020,907821,9369270,105785433,1297533006,
%T A222472 17185285377,244486594296,3718854770571,60235136112024,
%U A222472 1035153878216121,18813475216226250,360561490742947113,7267670240507621010
%N A222472 Numerator sequence of the n-th convergent of the continued fraction 1/(1+3/(2+3/(3+3/(4+...
%C A222472 The corresponding denominator sequence is A213190.
%C A222472 a(n) = Phat(n,3) with the numerator polynomials Phat of A221913. All the given formulas follow from there and from the comments given under A084950. The limit of the continued fraction (0 + K_{k=1..oo} (3/k))/3 = 1/(1+3/(2+3/(3+3/(4+... is (1/3)*sqrt(3)*BesselI(1,2*sqrt(3))/BesselI(0,2*sqrt(3)) = 0.484516174987404...
%C A222472 For a combinatorial interpretation in terms of labeled Morse codes see a comment on A221913. Here each dash has label x=3, and the dots have label j if they are at position j. Labels are multiplied and all codes on positions [2,...,n+1] are summed.
%F A222472 Recurrence: a(n) = n*a(n-1) + 3*a(n-2), with a(-1) = 1/3, a(0) = 0, n >= 1.
%F A222472 As a sum: a(n) = Sum_{m=0..floor(n/2)} b(n-m,m)*3^m, n >= 1, with b(n,m) = binomial(n,m)*(n+1)!/(m+1)! = |A066667(n,m)| (Laguerre coefficients, parameter alpha =1).
%F A222472 Explicit form: a(n) = -2*(sqrt(3))^n*(BesselK(1, -2*sqrt(3))*BesselI(n+1, -2*sqrt(3)) + (-1)^(n+1)*BesselI(1,-2*sqrt(3))*BesselK(n+1,-2*sqrt(3))).
%F A222472 E.g.f.: Pi*(BesselJ(1, 2*I*sqrt(3)*sqrt(1-z))*BesselY(1, 2*I*sqrt(3)) - BesselY(1, (2*I)*sqrt(3)*sqrt(1-z))*BesselJ(1, 2*I*sqrt(3)))/sqrt(1-z). Here Phat(0,x) = 0.
%F A222472 Asymptotics: lim_{n->oo} a(n)/n! = BesselI(1,2*sqrt(3))/(sqrt(3)) = 3.468649618760...
%e A222472 a(4) = 4*a(3) + 2*a(2) = 4*9 + 3*2 = 42.
%e A222472 Continued fraction convergent: 1/(1+3/(2+3/(3+3/4))) = 14/29 = 42/87 = a(4)/A213190(4).
%e A222472 Morse code: a(5) = 237 from the sum of all 5 labeled codes on [2,3,4,5], one with no dash, three with one dash and one with two dashes: 5!/1 + (4*5 + 2*5 + 2*3)*(3) +3^2 = 237.
%o A222472 (PARI) a=vector(50); a[1]=1;a[2]=2; for(n=3, #a, a[n]=n*a[n-1]+3*a[n-2]); a \\ _Altug Alkan_, Apr 20 2018
%Y A222472 Cf. A084950, A221913, A222467, A001040(n+1) (x=1), A058798 (x=-1).
%K A222472 nonn,easy
%O A222472 1,2
%A A222472 _Gary Detlefs_ and _Wolfdieter Lang_, Mar 09 2013