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!)
A302642 Number of partitions of n into two parts such that the positive difference of the parts is semiprime. 3
0, 0, 0, 0, 0, 1, 0, 2, 0, 2, 1, 3, 1, 3, 1, 4, 2, 4, 2, 4, 2, 4, 3, 5, 3, 5, 4, 6, 4, 6, 4, 6, 4, 6, 5, 7, 6, 7, 6, 8, 7, 8, 7, 8, 7, 8, 7, 9, 7, 9, 8, 9, 9, 9, 9, 9, 10, 9, 11, 10, 11, 10, 11, 11, 11, 11, 12, 11, 12, 11, 13, 11, 13, 11, 13, 12, 13, 12, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
LINKS
FORMULA
a(n) = Sum_{i=1..floor((n-1)/2)} [Omega(n-2i) == 2], where Omega = A001222 and [] is the Iverson bracket.
MATHEMATICA
Table[Sum[KroneckerDelta[PrimeOmega[n - 2 i], 2], {i, Floor[(n - 1)/2]}], {n, 100}]
PROG
(PARI) a(n) = sum(i=1, (n-1)\2, bigomega(n-2*i)==2); \\ Michel Marcus, Apr 11 2018
CROSSREFS
Sequence in context: A306696 A237184 A029240 * A025803 A029185 A029184
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Apr 10 2018
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 14:42 EDT 2024. Contains 371780 sequences. (Running on oeis4.)