A354513 The numbers whose square's position in the Wythoff array is immediately followed by another square in the next column.
11, 386, 2441, 25748423, 637519684, 2799936925, 3934324789543, 127501370029150, 21274660147684109, 644571595359295797, 15845190736671957299, 995980378496501932493, 47375682236837399943653, 213688560255016550712685, 28372206851301867342910959, 3120729065082950391169492805
Offset: 1
Keywords
Examples
11 is a term since 11^2 = 121 has another square, 196 = 14^2, immediately to its right in the Wythoff array. Array row: 46, 75, 121, 196, ...
Links
- Jianing Song, Table of n, a(n) for n = 1..127
- Mathematics Stack Exchange, If |x - p/q| < 1/(2*q^2) then p/q is necessarily one of the convergents
- Wikipedia, Continued fraction
Programs
-
PARI
phi=quadgen(5); nextcolumn(x) = ((x+1)*phi-1)\1; \\ A026274(x+1) for(i=1, 10000000000, if ( issquare( nextcolumn (i^2)), print1(i, ", ")));
-
PARI
A000201(n) = (n+sqrtint(5*n^2))\2; my(cofr=A331692_vector_bits(1000), conv=matrix(2, #cofr)); conv[, 1]=[1, 1]~; conv[, 2]=[4, 3]~; for(n=3, #cofr, conv[, n]=cofr[n]*conv[, n-1]+conv[, n-2]; if(A000201(conv[2, n]^2+1) == conv[1, n]^2+1, print1(conv[2, n], ", "))) \\ Jianing Song, Aug 21 2022, modified on Aug 28 2022 according to Kevin Ryde's program for A331692
Comments