login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A257392 Number of ways of representing n as the sum of one or more consecutive nonprime numbers (A018252). 1
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
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
Sequence in context: A094247 A053694 A085862 * A237123 A024942 A210255
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 13:43 EDT 2024. Contains 371974 sequences. (Running on oeis4.)