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.

A276687 Number of prime plane trees of weight prime(n).

This page as a plain text file.
%I A276687 #11 Sep 15 2016 09:37:26
%S A276687 1,1,2,4,11,30,122,336,1412,15129,44561,417542,2479120,7540843,
%T A276687 35983502,451454834,5313515136,16809858904,190077477328,1124302066470,
%U A276687 3521811953565,38563707677633,240966297786218,3192420711942298,95433674596402663,567734580765228356
%N A276687 Number of prime plane trees of weight prime(n).
%C A276687 A prime plane tree is either (case 1) a prime number, or (case 2) a sequence of prime plane trees whose weights are an integer partition of a prime number, where the weight of a tree is the sum of weights of its branches. Prime plane trees are "multichains" in the multiorder of integer partitions of prime numbers into prime parts (A056768).
%H A276687 Alois P. Heinz, <a href="/A276687/b276687.txt">Table of n, a(n) for n = 1..681</a>
%H A276687 Gus Wiseman, <a href="https://docs.google.com/document/d/1m0s6DGTBkDW9gvMuFmJHvy6oLGRAbQ7okAZcOPZawp0/pub">Comcategories and Multiorders</a>, <a href="http://www.nafindix.com/math/academic/ComcategoriesandMultiordersv7.pdf">(pdf version)</a>
%e A276687 The a(5) = 11 prime plane trees of weight A000040(5) = 11 are: {11, (3,3,5), (3,3,(2,3)), (2,2,7), (2,2,(2,5)), (2,2,(2,(2,3))), (2,2,(2,2,3)), (2,3,3,3), (2,2,2,5), (2,2,2,(2,3)), (2,2,2,2,3)}.
%p A276687 b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i=2, 0,
%p A276687        b(n, prevprime(i)))+`if`(i>n, 0, b(n-i, i)*(1+
%p A276687       `if`(i>2, b(i, prevprime(i)), 0))))
%p A276687     end:
%p A276687 a:= n-> `if`(n<3, 1, 1+b(ithprime(n), ithprime(n-1))):
%p A276687 seq(a(n), n=1..40);  # _Alois P. Heinz_, Sep 15 2016
%t A276687 n=20;
%t A276687 ser=Product[1/(1-c[Prime[i]]*x^Prime[i]),{i,1,n}];
%t A276687 sys=Table[c[Prime[i]]==Expand[SeriesCoefficient[ser,{x,0,Prime[i]}]-c[Prime[i]]+1],{i,1,n}];
%t A276687 Block[{c},Set@@@sys]
%Y A276687 Cf. A000040, A056768, A000607, A100118, A196545, A273873.
%K A276687 nonn
%O A276687 1,3
%A A276687 _Gus Wiseman_, Sep 13 2016