cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A218654 Number of ways to write n as x+y with 0

Original entry on oeis.org

0, 1, 1, 1, 2, 1, 2, 2, 2, 1, 4, 1, 4, 2, 4, 2, 3, 2, 6, 3, 4, 3, 6, 2, 6, 3, 4, 3, 8, 3, 8, 2, 5, 5, 8, 4, 8, 6, 5, 4, 8, 2, 10, 6, 6, 3, 11, 4, 9, 6, 9, 7, 10, 4, 14, 6, 9, 3, 11, 4, 12, 7, 9, 10, 10, 4, 11, 5, 10, 9, 15, 4, 15, 9, 9, 8, 14, 6, 12, 8, 9, 8, 18, 4, 17, 11, 9, 11, 20, 5, 14, 10, 13, 7, 16, 9, 17, 6, 16, 10
Offset: 1

Views

Author

Zhi-Wei Sun, Nov 03 2012

Keywords

Comments

Conjecture: a(n)>0 for all n=2,3,4,...
It is known that any prime p = 1 or -1 (mod 5) can be written uniquely in the form x(p)^2+3x(p)y(p)+y(p)^2 with x(p)>y(p)>0.
Zhi-Wei Sun also conjectured that
(sum_{p
/(sum_{p
has the limit 1+sqrt(5) as N tends to the infinity.
These conjectures are similar to the ones mentioned in the comments in A218585.

Examples

			For n=12 we have a(12)=1 since x^2+3x(12-x)+(12-x)^2 with 0<x<=6 is prime only when x=5.
		

Crossrefs

Programs