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!)
A171691 Number of unordered partitions {k1, k2} of n such that k1 and k2 are nonnegative nonprimes A141468. 1
1, 1, 0, 1, 1, 1, 1, 2, 2, 3, 1, 3, 2, 3, 3, 5, 2, 5, 3, 5, 4, 6, 3, 7, 5, 7, 5, 8, 5, 9, 6, 8, 7, 10, 7, 12, 7, 9, 9, 12, 8, 13, 9, 12, 10, 13, 9, 15, 11, 15, 11, 15, 11, 17, 13, 16, 13, 17, 13, 20, 14, 16, 15, 20, 15, 22, 15, 18, 17, 22, 16, 23, 17, 21, 18, 23, 18, 26, 18, 23 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
LINKS
EXAMPLE
a(1) = 1 because 1 = 0 + 1.
a(2) = 1 because 2 = 1 + 1.
a(3) = 0.
a(4) = 1 because 4 = 0 + 4.
a(5) = 1 because 5 = 1 + 4.
a(6) = 1 because 6 = 0 + 6.
a(7) = 1 because 7 = 1 + 6.
a(8) = 2 because 8 = 0 + 8 = 4 + 4.
PROG
(PARI) a(n)={sum(i=0, n\2, (i<2 || !isprime(i)) && !isprime(n-i))} \\ Andrew Howroyd, Jan 05 2020
CROSSREFS
Sequence in context: A160650 A304092 A339669 * A088904 A241568 A335017
KEYWORD
nonn
AUTHOR
EXTENSIONS
Name clarified and terms a(55) and beyond from Andrew Howroyd, Jan 05 2020
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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)