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 A341978 #12 Feb 24 2022 10:11:15 %S A341978 1,0,0,0,1,0,2,0,1,0,2,0,4,0,2,1,6,1,7,0,5,2,8,1,11,1,10,4,15,3,18,3, %T A341978 17,7,22,6,28,6,25,11,35,11,40,11,38,19,50,18,56,18,54,30,70,28,74,30, %U A341978 78,45,92,40,100,46,104,63,123,60,133,69,140,88,157,86,173 %N A341978 Number of partitions of n into 7 distinct primes (counting 1 as a prime). %H A341978 Alois P. Heinz, <a href="/A341978/b341978.txt">Table of n, a(n) for n = 42..10000</a> %p A341978 b:= proc(n, i) option remember; series(`if`(n=0, 1, %p A341978 `if`(i<0, 0, (p-> `if`(p>n, 0, x*b(n-p, i-1)))( %p A341978 `if`(i=0, 1, ithprime(i)))+b(n, i-1))), x, 8) %p A341978 end: %p A341978 a:= n-> coeff(b(n, numtheory[pi](n)), x, 7): %p A341978 seq(a(n), n=42..114); # _Alois P. Heinz_, Feb 24 2021 %t A341978 b[n_, i_] := b[n, i] = Series[If[n == 0, 1, %t A341978 If[i < 0, 0, Function[p, If[p > n, 0, x*b[n - p, i - 1]]][ %t A341978 If[i == 0, 1, Prime[i]]] + b[n, i - 1]]], {x, 0, 8}]; %t A341978 a[n_] := Coefficient[b[n, PrimePi[n]], x, 7]; %t A341978 Table[a[n], {n, 42, 114}] (* _Jean-François Alcover_, Feb 24 2022, after _Alois P. Heinz_ *) %Y A341978 Cf. A008578, A036497, A219201, A341950, A341973, A341974, A341975, A341976, A341977, A341979, A341980, A341981. %K A341978 nonn %O A341978 42,7 %A A341978 _Ilya Gutkovskiy_, Feb 24 2021