The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A092542 Table whose n-th row is constant and equal to n, read by antidiagonals alternately upwards and downwards. 8
 1, 1, 2, 3, 2, 1, 1, 2, 3, 4, 5, 4, 3, 2, 1, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9 (list; table; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 COMMENTS Let A be sequence A092542 (this sequence) and B be sequence A092543 (1, 2, 1, 1, 2, 3, 4, ...). Under upper trimming or lower trimming, A transforms into B and B transforms into A. Also, B gives the number of times each element of A appears. For example, A(7) = 1 and B(7) = 4 because the 1 in A(7) is the fourth 1 to appear in A. - Kerry Mitchell, Dec 28 2005 First inverse function (numbers of rows) for pairing function A056023 and second inverse function (numbers of columns) for pairing function A056011. - Boris Putievskiy, Dec 24 2012 The rational numbers a(n)/A092543(n) can be systematically ordered and numbered in this way, as Georg Cantor first proved in 1873. - Martin Renner, Jun 05 2016 REFERENCES Amir D. Aczel, "The Mystery of the Aleph, Mathematics, the Kabbalah and the Search for Infinity", Barnes & Noble, NY 2000, page 112. LINKS Table of n, a(n) for n=1..100. Boris Putievskiy, Transformations Integer Sequences And Pairing Functions, arXiv:1212.2732 [math.CO], 2012. Eric Weisstein's MathWorld, Pairing functions FORMULA a(n) = ((-1)^t+1)*j)/2-((-1)^t-1)*i/2, where i=n-t*(t+1)/2, j=(t*t+3*t+4)/2-n, t=floor((-1+sqrt(8*n-7))/2). - Boris Putievskiy, Dec 24 2012 EXAMPLE The table 1 1 1 1 1 ... 2 2 2 2 2 ... 3 3 3 3 3 ... 4 4 4 4 4 ... gives 1; 1 2; 3 2 1; 1 2 3 4; 5 4 3 2 1; 1 2 3 4 5 6; MATHEMATICA Table[ Join[Range[2n - 1], Reverse@ Range[2n - 2]], {n, 8}] // Flatten (* Robert G. Wilson v, Sep 28 2006 *) CROSSREFS Cf. A092543, A056011, A056023. Variants of Cantor's enumeration are: A352911, A366191, A319571, A354266. Sequence in context: A159455 A105734 A076839 * A321305 A339178 A026552 Adjacent sequences: A092539 A092540 A092541 * A092543 A092544 A092545 KEYWORD easy,nonn,tabl AUTHOR Sam Alexander, Feb 27 2004 EXTENSIONS Name edited by Michel Marcus, Dec 14 2023 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.

Last modified April 24 18:05 EDT 2024. Contains 371962 sequences. (Running on oeis4.)