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).

This page as a plain text file.
%I A257392 #8 Apr 22 2015 04:00:40
%S A257392 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,
%T A257392 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,
%U A257392 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
%N A257392 Number of ways of representing n as the sum of one or more consecutive nonprime numbers (A018252).
%e A257392 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.
%Y A257392 Cf. A051349, A053767, A018252, A166037, A166039, A242667, A257393.
%K A257392 nonn
%O A257392 1,2
%A A257392 _Juri-Stepan Gerasimov_, Apr 21 2015