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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A302354 Expansion of (Sum_{i>=1} x^prime(i))*(Sum_{j>=0} x^(j^3)). 1
0, 1, 2, 1, 1, 1, 1, 1, 0, 1, 2, 1, 2, 1, 1, 0, 1, 1, 2, 1, 1, 0, 1, 1, 1, 0, 1, 0, 2, 2, 2, 2, 0, 1, 0, 0, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 2, 1, 0, 1, 0, 1, 3, 2, 2, 1, 2, 1, 1, 2, 2, 0, 1, 0, 2, 2, 2, 0, 2, 1, 0, 1, 2, 1, 1, 1, 1, 0, 1, 1, 1, 0, 2, 2, 0, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 2, 2, 0, 1, 1, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Number of representations of n as the sum of a prime number and a nonnegative cube.

LINKS

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

FORMULA

G.f.: (Sum_{i>=1} x^prime(i))*(Sum_{j>=0} x^(j^3)).

EXAMPLE

a(11) = 2 because 11 = 3 + 2^3 = 11 + 0^3.

MATHEMATICA

nmax = 120; Rest[CoefficientList[Series[Sum[x^Prime[i], {i, 1, nmax}] Sum[x^j^3, {j, 0, nmax}], {x, 0, nmax}], x]]

CROSSREFS

Cf. A002471, A010051, A010057, A045911, A064272, A283760.

Sequence in context: A267611 A178666 A206706 * A000164 A157746 A281010

Adjacent sequences:  A302351 A302352 A302353 * A302355 A302356 A302357

KEYWORD

nonn

AUTHOR

Ilya Gutkovskiy, Apr 06 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 22 00:43 EDT 2019. Contains 326169 sequences. (Running on oeis4.)