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.

A280242 Expansion of (Sum_{k>=2} floor(1/omega(k))*x^k)^2, where omega(k) is the number of distinct prime factors (A001221).

Original entry on oeis.org

0, 0, 0, 0, 1, 2, 3, 4, 3, 4, 5, 6, 6, 6, 5, 6, 7, 4, 7, 6, 8, 8, 7, 4, 8, 6, 7, 8, 8, 6, 10, 6, 11, 8, 13, 8, 14, 4, 9, 8, 12, 6, 10, 6, 10, 10, 11, 4, 14, 6, 13, 8, 12, 4, 15, 6, 14, 8, 11, 4, 14, 6, 11, 8, 13, 4, 18, 4, 14, 10, 14, 4, 18, 6, 13, 12, 14, 6, 18, 4, 16, 8, 11, 8, 20, 6, 17, 8, 14, 6, 22, 8, 16, 6, 13, 4, 20, 4
Offset: 0

Views

Author

Ilya Gutkovskiy, Dec 29 2016

Keywords

Comments

Number of ordered ways of writing n as the sum of two prime powers (1 excluded).

Examples

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

Crossrefs

Programs

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

Formula

G.f.: (Sum_{k>=2} floor(1/omega(k))*x^k)^2.