Least m such that the maximal palindrome within the period of the continued fraction for sqrt(m) is the n-th row of Pascal's triangle; or 0 if no such number exists.

A065121

Least m such that the maximal palindrome within the period of the continued fraction for sqrt(m) is the n-th row of Pascal's triangle; or 0 if no such number exists.

Terms

    a(0) =3a(1) =0a(2) =14a(3) =218a(4) =164a(5) =7316138a(6) =42678240

External references