OFFSET
1,1
COMMENTS
Smallest prime p such that there is a prime q satisfying n*p^2 - (n-1)*q^2 = 1, or 0 if no such p exists: 5, 89,...
Primes p such that there is a prime q satisfying 5*p^2 - 3*q^2 = 2: 26839, 6391493137, 2540081 3820758542 5442608775 1898667220 6441480372 8945619713, ...
Primes q such that there is a prime p satisfying 5*p^2 - 3*q^2 = 2: 34649, 8251382159, 32792309 6359710073 4829167292 2880944251 7973351812 0308284159, ...
a(8) = 22656451 0158169057 8396614544 8202266647 1482614443 0220423848 3659973753 8209021958 1071702657 4442008471 0041419367 4411846431 - Giovanni Resta, May 16 2013
Conjecture: a(6) = a(7) = 0. Charles R Greathouse IV reports that a(6) must have thousands of digits. - Michael B. Porter, May 19 2013
LINKS
Eric Weisstein's World of Mathematics, Pell Equation
EXAMPLE
(2*2+1)*26839^2 - (2*2-1)*34649^2 = 3601659605 - 3601659603 = 2 and 26839, 34649 are primes, so a(2) = 26839.
CROSSREFS
KEYWORD
nonn
AUTHOR
Irina Gerasimova, May 16 2013
EXTENSIONS
a(2) from Giovanni Resta, May 15 2013
STATUS
approved