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-2 of 2 results.

A088934 Maximum prime required for the representation of n by a signed sum of squares of distinct primes that has the minimal number of terms A088910(n).

Original entry on oeis.org

19, 13, 19, 13, 2, 3, 13, 19, 13, 3, 13, 7, 5, 3, 13, 7, 5, 13, 13, 7, 5, 5, 19, 13, 7, 5, 13, 13, 7, 5, 5, 19, 13, 7, 5, 13, 7, 7, 5, 13, 7, 17, 11, 11, 7, 7, 17, 11, 13, 7, 17, 11, 13, 7, 7, 17, 11, 13, 7, 11, 11, 7, 7, 11, 13, 7, 17, 11, 11, 7, 7, 17, 11, 13, 7, 17, 11, 11, 7, 7, 17, 11
Offset: 0

Views

Author

Hugo Pfoertner, Nov 06 2003

Keywords

Examples

			See example in A088910.
		

Crossrefs

Cf. A089294 representation minimizing the maximum occurring prime instead of minimizing the number of terms, A089297 representation of the squares of primes by squares of distinct other primes.

A089294 Smallest prime p_k such that n can be written as a "plus-minus" sum n=sum_(i=1..k)e_i*(p_i)^2 with distinct primes p_i<=p_k, where e_i is 1 or -1.

Original entry on oeis.org

19, 13, 19, 13, 2, 3, 13, 19, 13, 3, 13, 7, 5, 3, 13, 7, 5, 13, 13, 7, 5, 5, 13, 13, 7, 5, 13, 13, 7, 5, 5, 13, 13, 7, 5, 13, 7, 7, 5, 13, 7, 17, 11, 11, 7, 7, 17, 11, 13, 7, 17, 11, 11, 7, 7, 17, 11, 13, 7, 11, 11, 7, 7, 11, 13, 7, 17, 11, 11, 7, 7, 17, 11, 13, 7, 17, 11, 11, 7, 7, 17, 11
Offset: 0

Views

Author

W. Edwin Clark Nov 06 2003

Keywords

Comments

The first terms where this sequence differs from A088934 are n=22,31,52,87,89,98,118,127,...

Examples

			a(22)=13 because 22 can be represented as -13^2+11^2+7^2+5^2-2^2.
The corresponding representation with the minimum number of terms is
22=19^2-13^2-11^2-7^2 (A088934(22)=19, A088910(22)=4 terms)
		

Crossrefs

The positions of the records in this sequence are given in A089295. Cf. A088910, A088934.
Showing 1-2 of 2 results.