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!)
A174557 Triangle T(n, k) = -floor(n/k) with T(n, n) = 1, read by rows. 3
1, -2, 1, -3, -1, 1, -4, -2, -1, 1, -5, -2, -1, -1, 1, -6, -3, -2, -1, -1, 1, -7, -3, -2, -1, -1, -1, 1, -8, -4, -2, -2, -1, -1, -1, 1, -9, -4, -3, -2, -1, -1, -1, -1, 1, -10, -5, -3, -2, -2, -1, -1, -1, -1, 1, -11, -5, -3, -2, -2, -1, -1, -1, -1, -1, 1, -12, -6, -4, -3, -2, -2, -1, -1, -1, -1, -1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
T(n, k) = A010766(n, k)*A154990(n, k).
T(n, k) = -floor(n/k) with T(n, n) = 1. - G. C. Greubel, Mar 06 2021
EXAMPLE
Table begins:
1;
-2, 1;
-3, -1, 1;
-4, -2, -1, 1;
-5, -2, -1, -1, 1;
-6, -3, -2, -1, -1, 1;
-7, -3, -2, -1, -1, -1, 1;
-8, -4, -2, -2, -1, -1, -1, 1;
-9, -4, -3, -2, -1, -1, -1, -1, 1;
-10, -5, -3, -2, -2, -1, -1, -1, -1, 1;
MATHEMATICA
Table[If[k==n, 1, -Floor[n/k]], {n, 12}, {k, n}]//Flatten (* G. C. Greubel, Mar 06 2021 *)
PROG
(Sage) flatten([[1 if k==n else -(n//k) for k in [1..n]] for n in [1..12]]) # G. C. Greubel, Mar 06 2021
(Magma) [k eq n select 1 else -Floor(n/k): k in [1..n], n in [1..12]]; // G. C. Greubel, Mar 06 2021
CROSSREFS
Sequence in context: A182715 A088425 A141294 * A010766 A135841 A210992
KEYWORD
sign,tabl
AUTHOR
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 April 27 16:49 EDT 2024. Contains 372020 sequences. (Running on oeis4.)