A213901 Fixed points of a sequence that gives the minimum length of a chain of 1,2,1,2,1,... so that the equation n*[n,1,2,1,...,n] = [x,...,y] between terminating continued fractions has a solution with x >= n^2 and y >= n^2.
5, 7, 29, 31, 79, 103, 127, 149, 151, 173, 197, 199, 223, 269, 271, 293, 317, 367, 439, 463, 487, 557, 631, 701, 727, 751, 773, 797, 821, 823, 941, 967, 991, 1039, 1061
Offset: 1
Keywords
Links
- Bill McEachen, Table of n, a(n) for n = 1..360 (terms 1..157 from Art DuPre)
Programs
-
PARI
{a(n,p,q) = local(t, m=1,s=[n]); if( n<2, 0, while( 1, if(component(Mod(m,2),2)==1, s=concat(s,p),s=concat(s,q)); t=contfracpnqn(concat(s,n)); t = contfrac(n*t[1,1]/t[2,1]); if(t[1]
Comments