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.

A257392 Number of ways of representing n as the sum of one or more consecutive nonprime numbers (A018252).

Original entry on oeis.org

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

Views

Author

Juri-Stepan Gerasimov, Apr 21 2015

Keywords

Examples

			a(2) = 2 because n = 2 itself is already a nonprime number (sum of 1 term), and 1 can in addition be written as A018252(1) + A018252(2), a sum of 2 consecutive nonprime numbers.
		

Crossrefs