OFFSET
1,2
COMMENTS
The corresponding primes are 2, 509, 1885717, ...
EXAMPLE
sqrt(prime(97)) = sqrt(509) has continued fraction [22; 1, 1, 3, 1, 1, 2, 10, 1, 8, 8, 1, 10, 2, 1, 1, 3, 1, 1, 44, ...], period 19.
sqrt(prime(98)) = sqrt(521) has continued fraction [22; 1, 4, 1, 2, 1, 2, 8, 1, 3, 3, 1, 8, 2, 1, 2, 1, 4, 1, 44, ...], period 19.
These are the first 2 consecutive primes with the same period of continued fraction for square root, so a(2) = 97.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,bref,more
AUTHOR
Ilya Gutkovskiy, Nov 08 2020
STATUS
approved