|
|
A246021
|
|
Number of palstars of length 2n over an alphabet of size 4.
|
|
3
|
|
|
1, 4, 28, 208, 1540, 11440, 84976, 631360, 4690972, 34854352, 258971536, 1924189120, 14296956112, 106228114624, 789287772352, 5864503926016, 43573975930372, 323759929988272, 2405575577105392, 17873718523387456, 132803898120114352, 986749082625941824
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
L. Bruce Richmond and J. Shallit, Counting the Palstars, Electronic Journal of Combinatorics, 21(3) (2014), #P3.25.
|
|
PROG
|
(PARI) \\ Richmond and Shallit, Section 2
U(k, size)= { local u; u= vector(size, x, 0); u[1]=1;
for (i = 1, length(u)-1, if(i%2==1, u[i+1]=k*u[i], u[i+1]=k*u[i]-u[i\2+1]));
return(u); }
u = U(4, 101);
p = vector(length(u), x, 0); p[1]=1;
for(n=1, length(u)-1, p[n+1]=sum(i=1, n, u[i+1]*p[n-i+1]));
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|