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!)
A109059 To compute a(n) we first write down 7^n 1's in a row. Each row takes the rightmost 7th part of the previous row and each element in it equals sum of the elements of the previous row starting with the first of the rightmost 7th part. The single element in the last row is a(n). 8

%I #11 Apr 01 2024 13:38:58

%S 1,1,7,322,102249,226742516,3518406903403,382149784071841422,

%T 290546585470549214822793,1546306129153609960601346281449,

%U 57606719909341067627899562630623352149,15022729501707009545842655841005666468590455864,27423481304702360472157221630747597794702587610760693525

%N To compute a(n) we first write down 7^n 1's in a row. Each row takes the rightmost 7th part of the previous row and each element in it equals sum of the elements of the previous row starting with the first of the rightmost 7th part. The single element in the last row is a(n).

%H Alois P. Heinz, <a href="/A109059/b109059.txt">Table of n, a(n) for n = 0..49</a>

%e For example, for n=3 the array, from 2nd row, follows:

%e 1..2..3.....38..39..40..41..42..43..44..45..46..47..48..49

%e ................................43..87.132.178.225.273.322

%e .......................................................322

%e Therefore a(3)=322.

%p proc(n::nonnegint) local f,a; if n=0 or n=1 then return 1; end if; f:=L->[seq(add(L[i],i=6*nops(L)/7+1..j),j=6*nops(L)/7+1..nops(L))]; a:=f([seq(1,j=1..7^n)]); while nops(a)>7 do a:=f(a) end do; a[7]; end proc;

%t A[n_, k_] := A[n, k] = If[n == 0, 1, -Sum[A[j, k]*(-1)^(n - j)* Binomial[If[j == 0, 1, k^j], n - j], {j, 0, n - 1}]];

%t a[n_] := A[n, 7];

%t Table[a[n], {n, 0, 12}] (* _Jean-François Alcover_, Apr 01 2024, after_Alois P. Heinz_ in A355576 *)

%Y Cf. A107354, A109055, A109056, A109057, A109058, A109060, A109061, A109062.

%Y Column k=7 of A355576.

%K nonn

%O 0,3

%A _Augustine O. Munagi_, Jun 17 2005

%E More terms from _Alois P. Heinz_, Jul 06 2022

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 16 02:41 EDT 2024. Contains 371696 sequences. (Running on oeis4.)