login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098145 p + P(p) where p is the n-th prime and P(p) is the unrestricted partition number of p. 4
4, 6, 12, 22, 67, 114, 314, 509, 1278, 4594, 6873, 21674, 44624, 63304, 124801, 329984, 831879, 1121566, 2679756, 4697276, 6185762, 13848729, 23338552, 49996014, 133231027, 214481227, 271249053, 431149496, 541946349, 851376741 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..30.

FORMULA

a(n) = A000040(n) + A000041(A000040(n)).

EXAMPLE

If p=17, P(p) = 297 and 17 + 297 = 314.

MAPLE

a:= n-> (p-> p+combinat[numbpart](p))(ithprime(n)):

seq(a(n), n=1..30);  # Alois P. Heinz, Aug 26 2015

MATHEMATICA

Table[Prime[n] + PartitionsP[Prime[n]], {n, 1, 50}] (* Stefan Steinerberger, Feb 28 2006 *)

CROSSREFS

Cf. A000040, A000041.

Sequence in context: A163776 A050558 A255843 * A307189 A054167 A303198

Adjacent sequences:  A098142 A098143 A098144 * A098146 A098147 A098148

KEYWORD

nonn

AUTHOR

Parthasarathy Nambi, Sep 28 2004

EXTENSIONS

More terms from Stefan Steinerberger, Feb 28 2006

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 16 14:56 EDT 2019. Contains 324152 sequences. (Running on oeis4.)