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!)
A127094 Triangle, reversal of A127093. 7
1, 2, 1, 3, 0, 1, 4, 0, 2, 1, 5, 0, 0, 0, 1, 6, 0, 0, 3, 2, 1, 7, 0, 0, 0, 0, 0, 1, 8, 0, 0, 0, 4, 0, 2, 1, 9, 0, 0, 0, 0, 0, 3, 0, 1, 10, 0, 0, 0, 0, 5, 0, 0, 2, 1, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Reversed rows of A127093.
T(n, K) = mod(n, k-n-1) - mod(n+1, k-n-1) + 1. - Mats Granvik, Sep 02 2007
EXAMPLE
First few rows of the triangle are:
1;
2, 1;
3, 0, 1;
4, 0, 2, 1;
5, 0, 0, 0, 1;
6, 0, 0, 3, 2, 1;
...
MATHEMATICA
Table[Mod[n, k-n-1] - Mod[n+1, k-n-1] +1, {n, 12}, {k, n}]//Flatten (* G. C. Greubel, Mar 08 2021 *)
PROG
(Sage) flatten([[n%(k-n-1) - (n+1)%(k-n-1) + 1 for k in [1..n]] for n in [1..12]]) # G. C. Greubel, Mar 08 2021
(Magma) [n mod (k-n-1) - (n+1) mod (k-n-1) + 1: k in [1..n], n in [1..12]]; // G. C. Greubel, Mar 08 2021
CROSSREFS
Cf. A000203 (row sums), A126988, A127093.
Sequence in context: A071490 A194893 A141673 * A221642 A158906 A309229
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Jan 05 2007
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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)