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!)
A320279 Number of partitions of 2*n into parts that are the average of twin prime pairs (A014574). 0
1, 0, 1, 1, 1, 1, 3, 1, 3, 4, 3, 4, 7, 4, 7, 10, 7, 10, 15, 10, 15, 21, 15, 21, 29, 21, 29, 39, 29, 39, 53, 39, 53, 68, 53, 68, 91, 68, 91, 114, 91, 114, 148, 114, 148, 184, 148, 184, 232, 184, 232, 287, 232, 287, 355, 287, 355, 434, 355, 434, 531, 434, 531, 641, 531, 641 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
Eric Weisstein's World of Mathematics, Twin Primes
FORMULA
a(n) = [x^(2*n)] Product_{k>=1} 1/(1 - x^A014574(k)).
EXAMPLE
a(10) = 3 because we have [12, 4, 4], [6, 6, 4, 4] and [4, 4, 4, 4, 4].
MATHEMATICA
nmax = 65; Table[CoefficientList[Series[Product[1/(1 - Boole[PrimeQ[k + 1] && PrimeQ[k - 1]] x^k), {k, 1, 2 nmax}], {x, 0, 2 nmax}], x][[n]], {n, 1, 2 nmax + 1, 2}]
CROSSREFS
Sequence in context: A219525 A050121 A029152 * A175290 A089958 A162932
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 25 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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)