A221578 A sum over partitions (q=6), see first comment.
1, 5, 35, 210, 1290, 7735, 46620, 279685, 1679370, 10076190, 60464670, 362787810, 2176773305, 13060638360, 78364108620, 470184650495, 2821109573550, 16926657432510, 101559954663930, 609359727929610, 3656158427989830, 21936950567886270, 131621703769781995
Offset: 0
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..400
Programs
-
Maple
with(numtheory): b:= proc(n) b(n):= add(phi(d)*6^(n/d), d=divisors(n))/n-1 end: a:= proc(n) a(n):= `if`(n=0, 1, add(add(d*b(d), d=divisors(j)) *a(n-j), j=1..n)/n) end: seq(a(n), n=0..30); # Alois P. Heinz, Jan 24 2013
-
Mathematica
b[n_] := Sum[EulerPhi[d]*6^(n/d), {d, Divisors[n]}]/n-1; a[n_] := a[n] = If[n == 0, 1, Sum[Sum[d*b[d], {d, Divisors[j]}]*a[n-j], {j, 1, n}]/n]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Feb 17 2014, after Alois P. Heinz *)
-
PARI
N=66; x='x+O('x^N); gf=prod(n=1,N, (1-x^n)/(1-6*x^n) ); v=Vec(gf)
Comments