The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A120111 Bi-diagonal inverse matrix of A120108. 5
1, -2, 1, 0, -3, 1, 0, 0, -2, 1, 0, 0, 0, -5, 1, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, -7, 1, 0, 0, 0, 0, 0, 0, -2, 1, 0, 0, 0, 0, 0, 0, 0, -3, 1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -11, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Subdiagonal is -lcm(1,...,n+2)/lcm(1,...,n+1) or -A014963(n+1).
Row sums are A120112.
LINKS
EXAMPLE
Triangle begins
1;
-2, 1;
0, -3, 1;
0, 0, -2, 1;
0, 0, 0, -5, 1;
0, 0, 0, 0, -1, 1;
0, 0, 0, 0, 0, -7, 1;
0, 0, 0, 0, 0, 0, -2, 1;
0, 0, 0, 0, 0, 0, 0, -3, 1;
0, 0, 0, 0, 0, 0, 0, 0, -1, 1;
0, 0, 0, 0, 0, 0, 0, 0, 0, -11, 1;
MATHEMATICA
T[n_, k_] := Switch[k, n, 1, n-1, -Exp[MangoldtLambda[n+1]], _, 0];
Table[T[n, k], {n, 0, 15}, {k, 0, n}]//Flatten (* Jean-François Alcover, Mar 01 2021 *)
(* Second program *)
A014963[n_]:= LCM@@Range[n]/(LCM@@Range[n-1]);
A120111[n_, k_]:= If[k==n, 1, If[k==n-1, -A014963[n+1], 0]];
Table[A120111[n, k], {n, 0, 20}, {k, 0, n}]//Flatten (* G. C. Greubel, May 05 2023 *)
PROG
(Magma)
A014963:= func< n | Lcm([1..n])/Lcm([1..n-1]) >;
A120111:= func< n, k | k eq n select 1 else k eq n-1 select -A014963(n+1) else 0 >;
[A120111(n, k): k in [0..n], n in [0..15]]; // G. C. Greubel, May 05 2023
(SageMath)
def A014963(n): return lcm(range(1, n+1))/lcm(range(1, n))
def A120111(n, k):
if (k<n-1): return 0
elif (k==n-1): return -A014963(n+1)
else: return 1
flatten([[A120111(n, k) for k in range(n+1)] for n in range(16)]) # G. C. Greubel, May 05 2023
CROSSREFS
Sequence in context: A004172 A082754 A063173 * A130055 A202452 A127013
KEYWORD
easy,sign,tabl
AUTHOR
Paul Barry, Jun 09 2006
STATUS
approved

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 May 14 22:35 EDT 2024. Contains 372533 sequences. (Running on oeis4.)