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.

Showing 1-3 of 3 results.

A088910 Conjectured minimal required number k of terms in a representation n=sum_(i=1..k)e_i*(p_i)^2 by distinct primes p_i, where e_i is 1 or -1.

Original entry on oeis.org

4, 3, 4, 4, 1, 2, 5, 5, 4, 1, 4, 4, 3, 2, 4, 3, 2, 5, 5, 4, 3, 2, 4, 3, 2, 1, 4, 4, 3, 2, 3, 5, 4, 3, 2, 4, 3, 4, 3, 3, 2, 5, 5, 4, 3, 2, 4, 3, 2, 1, 4, 4, 3, 2, 3, 5, 4, 3, 2, 4, 5, 4, 3, 3, 4, 3, 5, 4, 3, 4, 3, 3, 2, 3, 2, 4, 3, 4, 3, 4, 4, 3, 4, 3, 5, 4, 4, 3, 4, 5, 5, 4, 3, 4, 4, 3, 2, 3, 4, 4, 3, 4, 5, 5, 4
Offset: 0

Views

Author

Hugo Pfoertner, Oct 24 2003

Keywords

Comments

It is conjectured that all sequence terms are <=5. The terms with a(n)=5 were provided by W. Edwin Clark.

Examples

			The following are representation with the minimal number of terms:
  a(0)=4: 0=7^2-11^2-17^2+19^2;
  a(1)=3: 1=7^2+11^2-13^2;
  a(4)=1: 4=2^2;
  a(5)=2: 5=3^2-2^2;
  a(6)=5: 6=-(2^2)+3^2+7^2+11^2-13^2.
		

Crossrefs

Cf. A088934 (maximum required prime in representation), A048261, A088908, A088909.

A088908 Numbers expressible as sum or difference of the squares of two distinct primes.

Original entry on oeis.org

5, 13, 16, 21, 24, 29, 34, 40, 45, 48, 53, 58, 72, 74, 96, 112, 117, 120, 125, 130, 144, 146, 160, 165, 168, 170, 173, 178, 192, 194, 218, 240, 264, 280, 285, 288, 290, 293, 298, 312, 314, 336, 338, 352, 357, 360, 365, 370, 386, 408, 410, 432, 458, 480, 482
Offset: 1

Views

Author

Hugo Pfoertner, Oct 22 2003

Keywords

Examples

			a(1)=3*3-2*2=5, a(2)=3*3+2*2=13, a(3)=5*5-3*3=16
		

Crossrefs

A088918 Number of representations of n as sum of two squares of distinct primes.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 23 2003

Keywords

Comments

a(n) <= A000161(n); a(A088909(n)) > 0;
a(A088919(n)) = n and a(k) <> n for k < A088919(n).

Examples

			a(410)=2, see A088919.
		

Crossrefs

Cf. A002654.
Showing 1-3 of 3 results.