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!)
A221579 A sum over partitions (q=10), see first comment. 9

%I #16 Feb 28 2022 01:53:13

%S 1,9,99,990,9990,99891,999900,9998901,99998910,999989010,9999989010,

%T 99999889110,999999890109,9999998890200,99999998891100,

%U 999999988901199,9999999988902090,99999999888912090,999999999889011990,9999999998889021990

%N A sum over partitions (q=10), see first comment.

%C Set q=10 and f(m)=q^(m-1)*(q-1), then a(n) is the sum over all partitions P of n over all products Product_{k=1..L} f(m_k) where L is the number of different parts in the partition P = [p_1^m_1, p_2^m_2, ..., p_L^m_L].

%C Setting q to a prime power gives the sequence "Number of conjugacy classes in GL(n,q)":

%C q=3: A006952, q=4: A049314, q=5: A049315, q=7: A049316, q=8: A182603,

%C q=9: A182604, q=11: A182605, q=13: A182606, q=16: A182607, q=17: A182608,

%C q=19: A182609, q=23: A182610, q=25: A182611, q=27: A182612.

%C Sequences where q is not a prime power:

%C q=6: A221578, q=10: A221579, q=12: A221580,

%C q=14: A221581, q=15: A221582, q=18: A221583, q=20: A221584.

%H Alois P. Heinz, <a href="/A221579/b221579.txt">Table of n, a(n) for n = 0..500</a>

%p with(numtheory):

%p b:= proc(n) b(n):= add(phi(d)*10^(n/d), d=divisors(n))/n-1 end:

%p a:= proc(n) a(n):= `if`(n=0, 1,

%p add(add(d*b(d), d=divisors(j)) *a(n-j), j=1..n)/n)

%p end:

%p seq(a(n), n=0..30); # _Alois P. Heinz_, Jan 25 2013

%t b[n_] := Sum[EulerPhi[d]*10^(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_ *)

%o (PARI)

%o N=66; x='x+O('x^N);

%o gf=prod(n=1,N, (1-x^n)/(1-10*x^n) );

%o v=Vec(gf)

%K nonn

%O 0,2

%A _Joerg Arndt_, Jan 20 2013

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 April 18 18:10 EDT 2024. Contains 371781 sequences. (Running on oeis4.)