Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121304
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121304 Number of parts in all the compositions of n into primes (i.e. in all ordered sequences of primes having sum n). +0
2
1, 1, 2, 5, 5, 14, 17, 32, 53, 76, 139, 198, 334, 515, 798, 1280, 1938, 3075, 4710, 7299, 11298, 17296, 26738, 40874, 62763, 96036, 146674, 224210, 341562, 520767, 792375, 1204951, 1831124, 2779234, 4217008, 6391663, 9683056, 14659038, 22177341 (list; graph; listen)
OFFSET

2,3

COMMENT

a(n)=Sum(k*A121303(n,k), k=1..floor(n/2)).

FORMULA

g.f.=Sum(z^prime(i),i=1..infinity)/[1-Sum(z^prime(i),i=1..infinity)]^2.

EXAMPLE

a(8)=17 because the compositions of 8 into primes are [3,5], [5,3], [2,3,3], [3,2,3], [3,3,2] and [2,2,2,2], having a total of 2+2+3+3+3+4=17 parts.

MAPLE

g:=sum(z^ithprime(i), i=1..53)/(1-sum(z^ithprime(i), i=1..53))^2: gser:=series(g, z=0, 48): seq(coeff(gser, z, n), n=2..45);

CROSSREFS

Cf. A121303.

Sequence in context: A154696 A154698 A063786 this_sequence A002106 A064630 A089793

Adjacent sequences: A121301 A121302 A121303 this_sequence A121305 A121306 A121307

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Aug 06 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research