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.

A331926 Number of compositions (ordered partitions) of n into distinct prime parts (counting 1 as a prime).

This page as a plain text file.
%I A331926 #6 Feb 01 2020 22:36:57
%S A331926 1,1,1,3,2,3,8,3,10,8,14,31,10,33,16,38,40,61,138,69,48,98,190,121,
%T A331926 308,128,340,270,472,991,572,885,534,446,888,1872,914,1927,1084,2300,
%U A331926 2058,4303,6508,3759,2246,4856,8238,6889,12630,6368,8708
%N A331926 Number of compositions (ordered partitions) of n into distinct prime parts (counting 1 as a prime).
%H A331926 <a href="/index/Com#comp">Index entries for sequences related to compositions</a>
%e A331926 a(6) = 8 because we have [5, 1], [3, 2, 1], [3, 1, 2], [2, 3, 1], [2, 1, 3], [1, 5], [1, 3, 2] and [1, 2, 3].
%o A331926 (PARI) a(n)={subst(serlaplace(y^0*polcoef(prod(k=1, n, 1 + if(k==1 || isprime(k), y*x^k) + O(x*x^n)), n)), y, 1)} \\ _Andrew Howroyd_, Feb 01 2020
%Y A331926 Cf. A008578, A023360, A034891, A036497, A219107, A280917.
%K A331926 nonn
%O A331926 0,4
%A A331926 _Ilya Gutkovskiy_, Feb 01 2020