OFFSET
1,1
COMMENTS
All terms == 3 mod 8 (cf. A007520).
LINKS
Zak Seidov, Table of n, a(n) for n = 1..10000
EXAMPLE
Corresponding pairs of primes:
(a(1),a(2))=(11,19): 11=3^2+2*1^2, 19=1^2+2*3^2
(a(3),a(4))=(43,59): 43=5^2+2*3^2, 59=3^2+2*5^2
(a(5),a(7))=(67,107): 67=7^2+2*3^2, 107=3^2+2*7^2.
MATHEMATICA
With[{nn=50}, Take[Union[Flatten[Select[{#[[1]]^2+2#[[2]]^2, 2#[[1]]^2+ #[[2]]^2}&/@Subsets[Range[nn], {2}], And@@PrimeQ[#]&]]], nn]] (* Harvey P. Dale, Sep 15 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Dec 04 2011
STATUS
approved