login
A079812
Lower of twin primes (p,p+2) such that (p*(p+2))^2 + p^2 - (p+2)^2 and (p*(p+2))^2 - p^2 + (p+2)^2 are both prime.
0
5, 5477, 20897, 27689, 36341, 39239, 43649, 51971, 77549, 109661, 121631, 122399, 152027, 153509, 159977, 163481, 189947, 211061, 245981, 285977, 308489, 470087, 497279, 512591, 520631, 522281, 560639, 570461, 573899, 580031, 581729, 591089
OFFSET
1,1
EXAMPLE
a(1) = 5 since 5 and 5+2=7 are primes and (5*7)^2 + 5^2 - 7^2 = 1201 and (5*7)^2 - 5^2 + 7^2 = 1249 are both primes.
CROSSREFS
Cf. twin primes and A079797.
Sequence in context: A072021 A196627 A013535 * A137694 A292334 A202156
KEYWORD
easy,nonn
AUTHOR
Olivier Gérard, Feb 19 2003
STATUS
approved