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.

A317683 Number of partitions of n into a prime and two distinct positive squares.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 2, 1, 0, 2, 2, 1, 2, 1, 2, 1, 3, 2, 3, 1, 1, 3, 4, 2, 3, 3, 3, 3, 3, 0, 6, 3, 1, 5, 3, 2, 6, 4, 4, 3, 4, 4, 7, 2, 3, 4, 5, 4, 6, 4, 5, 7, 6, 2, 7, 3, 2, 9, 6, 3, 7, 5, 6, 6, 7, 6, 9, 4, 4, 5, 9, 5, 9, 5, 4
Offset: 0

Views

Author

R. J. Mathar, Michel Marcus, Aug 04 2018

Keywords

Comments

As in A025441, the two squares must be distinct and positive.

Examples

			a(12)=2 counts 12 = 7 +1^2 +2^2 = 2 + 1^2 +3^2.
		

Crossrefs

Programs

Formula

a(n) = Sum_{primes p} A025441(n-p).