login
The multiplication continued fraction sequence for 2,3,2,3...
4

%I #20 Jul 30 2012 14:05:05

%S 0,1,5,3,4,5,2,3,5,9,4,11,13,5,29,3,15,5,19,19,5,9,23,11,13,17,11,14,

%T 29,7,7,29,15,14,11,37,19,41,19,41,5,13,19,29,23,47,11,20,49,47,27,25,

%U 17,4,11,59,29,28,59,11,7,5,15,69,29,65,15,23,29,9,11,36,37,149

%N The multiplication continued fraction sequence for 2,3,2,3...

%C This is the first sequence which comes from continued fractions which cannot, so far, be looked at as an apparition sequence for a linearly recursive sequence.

%C The first term a(1), is always 0. We will always refer to the continued fraction [a,b,c] for short, when we really mean the continued fraction with quotients [a,b,c].

%C To calculate a(2), we consider [2,2], and take a(2) to be the least number of terms of the sequence 2,3,2,3,... which will have the property that 2[2,2,3,2,3,...,2] = [2^2+k,...,2^2+l], where k,l>=0. We find that 2[2,2,2]=[4,1,4], and both the first term 4 and the last term, 4 are >= 2^2, so 1 is the correct number of terms from 2,3,2,3,.... Thus we have shown that a(2)=1.

%C Next, to calculate a(3), we consider the sequence [3,2,3,...,3] and notice that if we put only one term from the sequence 2,3,2,3,... between the 3s at the ends, we get 3[3,2,3]=[3^2+1,3,2] and the last term 2 is not >= 3^2, so we consider 3[3,2,3,3]=[3^2+1,3,3,2] and 2 is not >= 3^2, so we look at 3[3,2,3,2,3]=[3^2+1,3,4,4], and 4, the last term, is still not >= 3^2. Next, we consider 3[3,2,3,2,3,3] = [3^2+1,3,4,3,4] and we see that the last term 4 is still not >= 3^2. Finally when we put 5 terms of the sequence 2,3,2,3,.. between, the 3s, we get 3[3,2,3,2,3,2,3] = [10,3,4,3,10], and now the first element 10 is >=3^2, and the last number 10 is also >=3^2, and this proves that a(3)=5. By using the PARI program below, we get the sequence a(n) above, shown in the data portion.

%o (PARI)

%o {b23(n)=local(t,m=1,s=[n]); if (n<2,0,while(1,

%o if(m%2,s=concat(s,2),s=concat(s,3));

%o t=contfracpnqn(concat(s,n));

%o t=contfrac(n*t[1,1]/t[2,1]);

%o if(t[1]<n^2||t[#t]<n^2,m++,break));m)};

%o /* To print the sequence to the screen,use */

%o for(i=1,500,print1(b23(i),", "));

%Y Cf. A213891, A213892.

%K nonn

%O 1,3

%A _Art DuPre_, Jul 12 2012