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.

A282380 Number of ways to write n as a sum of two unordered nonsquarefree numbers.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 2, 1, 1, 0, 2, 1, 1, 0, 3, 1, 1, 1, 3, 2, 1, 1, 4, 2, 2, 1, 6, 2, 1, 1, 5, 2, 1, 2, 5, 3, 1, 1, 6, 3, 2, 1, 7, 4, 4, 1, 7, 4, 4, 2, 7, 4, 3, 3, 8, 4, 3, 3, 9, 4, 4, 2, 12, 4, 4, 3, 10, 5, 3, 4, 10, 6, 3, 3, 11, 5, 3, 3, 12, 5, 6, 3, 11, 6, 5, 4, 12, 5, 5, 7, 14, 5, 6, 5, 14, 5, 6
Offset: 1

Views

Author

Altug Alkan, Feb 13 2017

Keywords

Examples

			a(16) = 2 because 16 = 4 + 12 and 16 = 8 + 8 are only corresponding solutions.
		

Crossrefs

Programs

  • PARI
    a(n) = sum(k=1, n\2, !issquarefree(k) && !issquarefree(n-k));