A159862 Main diagonal of A159861.
1, 1, 4, 29, 2265, 18698645, 1602308616574727, 14017675267522095175220940844027, 1245902734717669791621141496863001384336371908521990690157218737
Offset: 1
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..12
Programs
-
Maple
R:= (S,m)-> iquo(S+m-1, m): A:= proc(m, n) option remember; `if`(n=1, 1, R(parse(cat(seq(A(m, j), j=1..n-1))), m)) end: a:= n-> A(n,n): seq(a(n), n=1..10);
-
Mathematica
R[S_, m_] := Quotient[S + m - 1, m]; A[m_, n_] := If[n == 1, 1, R[ToExpression@StringJoin[ToString /@ Table[A[m, j], {j, 1, n - 1}]], m]]; a[n_] := A[n, n]; Table[a[n], {n, 1, 10}] (* Jean-François Alcover, Feb 13 2023, after Maple code *)
Comments