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.
%I A280605 #8 Feb 16 2025 08:33:39 %S A280605 1,0,0,0,1,0,0,0,2,1,0,0,3,2,0,0,6,5,1,0,10,10,3,0,18,23,9,2,31,46,22, %T A280605 6,56,94,56,19,101,184,129,50,185,364,293,134,344,708,638,332,651, %U A280605 1378,1375,805,1265,2665,2901,1878,2503,5161,6057,4306,5061,10005,12488,9653,10384,19461,25556,21319 %N A280605 Expansion of 1/(1 - Sum_{p prime, k>=2} x^(p^k)). %C A280605 Number of compositions (ordered partitions) of n into proper prime powers (A246547). %H A280605 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PrimePower.html">Prime Power</a> %H A280605 <a href="/index/Com#comp">Index entries for sequences related to compositions</a> %F A280605 G.f.: 1/(1 - Sum_{p prime, k>=2} x^(p^k)). %e A280605 a(12) = 3 because we have [8, 4], [4, 8] and [4, 4, 4]. %t A280605 nmax = 67; CoefficientList[Series[1/(1 - Sum[Sign[PrimeOmega[k] - 1] Floor[1/PrimeNu[k]] x^k, {k, 2, nmax}]), {x, 0, nmax}], x] %o A280605 (PARI) x='x+O('x^68); Vec(1/(1 - sum(k=2, 67, sign(bigomega(k) - 1) * (1\omega(k)) * x^k))) \\ _Indranil Ghosh_, Apr 03 2017 %Y A280605 Cf. A246547, A280195, A280200, A280543, A280586. %K A280605 nonn %O A280605 0,9 %A A280605 _Ilya Gutkovskiy_, Jan 06 2017