login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A226562 Numbers which are the sum of two squared primes in exactly three ways (ignoring order). 3

%I #29 Sep 20 2018 00:30:36

%S 2210,3770,5330,6290,12818,16490,18122,19370,24050,24650,26690,32810,

%T 33410,34970,36530,39650,39770,44642,45050,45890,49010,50690,51578,

%U 57770,59450,61610,63050,66170,67490,72410,73610,74210,80330,85202,86210,86330,88010

%N Numbers which are the sum of two squared primes in exactly three ways (ignoring order).

%C Suggestion: difference between successive terms is always at least 3. (With the known 115885 terms <10^9, the smallest difference is 24.) - _Zak Seidov_, Jun 12 2013

%D Stan Wagon, Mathematica in Action, Springer, 2000 (2nd ed.), Ch. 17.5, pp. 375-378.

%H Zak Seidov, <a href="/A226562/b226562.txt">Table of n, a(n) for n = 1..2464</a> (all terms up to 10^7).

%e 2210 = 19^2 + 43^2 = 23^2 + 41^2 = 29^2 + 37^2;

%p Prime2PairsSum := s -> select( x -> `if`(andmap(isprime, x), true, false), numtheory:-sum2sqr(s)):

%p for n from 2 to 10 do

%p if nops(Prime2PairsSum(n)) = 3 then print(n,Prime2PairsSum(n)) fi

%p od;

%t Select[Range@20000, Length[Select[ PowersRepresentations[#, 2, 2], And @@ PrimeQ[#] &]] == 3 &] (* _Giovanni Resta_, Jun 11 2013 *)

%Y Cf. A054735 (restricted to twin primes), A037073, A069496.

%Y Cf. A045636 (sum of two squared primes), A226539.

%Y Cf. A214511 (least number having n representations).

%Y Cf. A226539 (restricted to sums decomposed in exactly three ways).

%K nonn

%O 1,1

%A _Henk Koppelaar_, Jun 11 2013

%E a(22)-a(37) from _Giovanni Resta_, Jun 11 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)