|
|
A216432
|
|
Semiprimes that are sums of squares of two consecutive primes.
|
|
4
|
|
|
34, 74, 458, 4058, 28898, 45002, 51218, 57818, 64802, 84122, 115202, 145802, 233978, 352802, 363002, 530522, 609458, 649802, 756458, 924818, 994082, 1391162, 1609418, 2179922, 2599442, 2832218, 3328202, 3484802, 3864362, 3942482, 5425418, 5746058, 6125018
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
34 = 2*17 = 3^2+5^2, 74 = 2*37 = 5^2+7^2, 458 = 2*229 = 13^2+17^2.
|
|
MATHEMATICA
|
Select[(Total/@Partition[Prime[Range[500]]^2, 2, 1]), PrimeOmega[#]==2&] (* Harvey P. Dale, Sep 23 2012 *)
|
|
PROG
|
(PARI) v=List(); p=3; forprime(q=5, 1e4, if(isprime((p^2+q^2)\2), listput(v, p^2+q^2)); p=q); Vec(v) \\ Charles R Greathouse IV, Sep 23 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|