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!)
A066665 a(n) = #{(x,y) | 0<=y<=x<=n and x+y is prime}. 0

%I #3 Mar 30 2012 18:50:19

%S 1,3,5,7,9,11,14,16,19,23,27,31,35,38,42,47,52,56,61,65,70,76,82,88,

%T 94,100,107,114,121,128,136,143,150,158,166,175,185,194,203,213,223,

%U 233,243,252,262,272,282,291,301,311,322,334,346

%N a(n) = #{(x,y) | 0<=y<=x<=n and x+y is prime}.

%F a(0) = 0, for n>0: a(n) = a(n-1) + A035250(n).

%e a(3)=5, as sums of (1,1), (2,0), (2,1), (3,0) and (3,2) give 5 primes.

%Y Cf. A000720, A035250.

%K nonn

%O 0,2

%A _Reinhard Zumkeller_, Jan 07 2002

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 24 19:52 EDT 2024. Contains 371963 sequences. (Running on oeis4.)