A221580 A sum over partitions (q=12), see first comment.
1, 11, 143, 1716, 20724, 248677, 2985840, 35829937, 429979836, 5159757900, 61917341772, 743008099548, 8916100178843, 106993202123808, 1283918461295184, 15407021535521759, 184884258855973380, 2218611106271412996, 26623333280416468596, 319479999364994391924
Offset: 0
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..300
Programs
-
Maple
with(numtheory): b:= proc(n) b(n):= add(phi(d)*12^(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, Feb 03 2013
-
Mathematica
b[n_] := Sum[EulerPhi[d]*12^(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-12*x^n) ); v=Vec(gf)
Comments