login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242587 The number of conjugacy classes of n X n matrices over F_3. 19

%I #31 Apr 12 2018 22:23:10

%S 1,3,12,39,129,399,1245,3783,11514,34734,104754,314922,946623,2842077,

%T 8532147,25603788,76830033,230513439,691598901,2074870002,6224790639,

%U 18674600664,56024355396,168073769199,504222998115,1512671142432,4538018555652,13614062210490

%N The number of conjugacy classes of n X n matrices over F_3.

%C Apparently the Euler transform of A001867.

%H Alois P. Heinz, <a href="/A242587/b242587.txt">Table of n, a(n) for n = 0..1000</a>

%H K. E. Morrison, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL9/Morrison/morrison37.html">Integer sequences and matrices over finite fields</a>, J. Int. Seq. 9 (2006) # 06.2.1, Section 1.16.

%F G.f.: 1/Product_{r>=1} (1-3*x^r).

%F a(n) = S(n,1), where S(n,m) = sum(k=m..n/2, 3*S(n-k,k))+3, S(n,n)=3, S(0,m)=1, S(n,m)=0 for n<m. - _Vladimir Kruchinin_, Sep 07 2014

%F a(n) ~ c * 3^n, where c = Product_{k>=1} 1/(1-1/3^k) = 1.7853123419985341903674... . - _Vaclav Kotesovec_, Mar 19 2015

%F G.f.: Sum_{i>=0} 3^i*x^i/Product_{j=1..i} (1 - x^j). - _Ilya Gutkovskiy_, Apr 12 2018

%p A242587 := proc(n)

%p local r,x ;

%p if n = 0 then

%p 1;

%p else

%p 1/mul(1-3*x^r,r=1..n) ;

%p convert(%,parfrac,x) ;

%p coeftayl(%,x=0,n) ;

%p end if;

%p end proc:

%p # second Maple program:

%p b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,

%p b(n, i-1) +`if`(i>n, 0, 3*b(n-i, i))))

%p end:

%p a:= n-> b(n$2):

%p seq(a(n), n=0..50); # _Alois P. Heinz_, Sep 07 2014

%t b[n_, i_] := b[n, i] = If[n==0, 1, If[i<1, 0, b[n, i-1] + If[i>n, 0, 3*b[n-i, i]]]] ; a[n_] := b[n, n]; Table[a[n], {n, 0, 50}] (* _Jean-François Alcover_, Apr 03 2015, after _Alois P. Heinz_ *)

%t (O[x]^20 - 2/QPochhammer[3, x])[[3]] (* _Vladimir Reshetnikov_, Nov 20 2015 *)

%o (Maxima)

%o S(n, m):=if n=0 then 1 else if n<m then 0 else if n=m then 3 else sum(3*S(n-k, k), k, m, n/2)+3;

%o makelist(S(n, 1), n, 0, 17); /* _Vladimir Kruchinin_, Sep 07 2014 */

%Y Cf. A070933 (over F_2).

%Y Column k=3 of A246935.

%K nonn

%O 0,2

%A _R. J. Mathar_, May 18 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 15 16:35 EDT 2024. Contains 375938 sequences. (Running on oeis4.)