cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A282064 Expansion of (x + Sum_{p prime, k>=1} x^(p^k))^3.

Original entry on oeis.org

0, 0, 0, 1, 3, 6, 10, 15, 18, 22, 27, 33, 37, 45, 48, 52, 54, 60, 60, 69, 69, 79, 81, 87, 79, 93, 87, 97, 99, 114, 99, 120, 111, 130, 126, 150, 135, 168, 141, 160, 147, 177, 144, 189, 156, 183, 162, 201, 157, 213, 171, 214, 189, 231, 168, 237, 189, 244, 201, 261, 177, 270, 201, 261, 210, 282, 192, 297, 216, 283, 228
Offset: 0

Views

Author

Ilya Gutkovskiy, Feb 05 2017

Keywords

Comments

Number of ways to write n as an ordered sum of three prime powers (1 included).

Examples

			a(6) = 10 because we have  [4, 1, 1], [3, 2, 1], [3, 1, 2], [2, 3, 1], [2, 2, 2], [2, 1, 3], [1, 4, 1], [1, 3, 2], [1, 2, 3] and [1, 1, 4].
		

Crossrefs

Programs

  • Mathematica
    nmax = 70; CoefficientList[Series[(x + Sum[Floor[1/PrimeNu[k]] x^k, {k, 2, nmax}])^3, {x, 0, nmax}], x]

Formula

G.f.: (x + Sum_{p prime, k>=1} x^(p^k))^3.