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!)
A117054 Number of ordered ways of writing n = i + j, where i is a prime and j is of the form k*(k+1), k > 0. 2
0, 0, 0, 1, 1, 0, 1, 1, 2, 0, 1, 0, 2, 1, 2, 0, 2, 0, 3, 0, 1, 1, 3, 0, 4, 0, 1, 0, 2, 0, 3, 1, 3, 0, 3, 0, 3, 0, 2, 0, 2, 0, 5, 1, 2, 0, 3, 0, 6, 0, 1, 0, 4, 0, 3, 0, 1, 1, 5, 0, 5, 0, 3, 0, 3, 0, 4, 0, 2, 0, 3, 0, 7, 1, 3, 0, 3, 0, 6, 0, 2, 0, 4, 0, 6, 0, 2, 0, 4, 0, 5, 1, 3, 0, 5, 0, 3, 0, 3, 0, 5, 0, 8, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,9
COMMENTS
Based on a posting by Zhi-Wei Sun to the Number Theory Mailing List, Mar 23 2008, where he conjectures that a(2n+1) > 0 for n >= 2.
Zhi-Wei Sun has offered a monetary reward for settling this conjecture.
No counterexample below 10^10. - D. S. McNeil
LINKS
Zhi-Wei Sun, Conjectures on sums of primes and triangular numbers, arxiv:0803.3737 and Journal of Combinatorics and Number Theory, 1 (2009), no.1, 65-76
MAPLE
t0:=array(0..300); for n from 0 to 300 do t0[n]:=0; od:
t1:=[seq(ithprime(i), i=1..70)]; t2:=[seq(n*(n+1), n=1..30)];
for i from 1 to 70 do for j from 1 to 30 do k:=t1[i]+t2[j]; if k <= 300 then t0[k]:=t0[k]+1; fi; od: od:
t3:=[seq(t0[n], n=1..300)];
CROSSREFS
Sequence in context: A085513 A362913 A259965 * A036579 A139353 A345219
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 15 2009
STATUS
approved

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 25 12:15 EDT 2024. Contains 371969 sequences. (Running on oeis4.)