login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004197 Table of min(x,y), where (x,y) = (0,0),(0,1),(1,0),(0,2),(1,1),(2,0),... 6
0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 2, 1, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 3, 2, 1, 0, 0, 1, 2, 3, 3, 2, 1, 0, 0, 1, 2, 3, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 6, 5, 4, 3, 2, 1, 0, 0, 1, 2 (list; table; graph; refs; listen; history; internal format)
OFFSET

0,13

COMMENTS

Row sums give A002620. - Reinhard Zumkeller, Jul 27 2005

LINKS

Reinhard Zumkeller, Rows n=0..100 of triangle, flattened

FORMULA

G.f.: x*y/((1-x)*(1-y)*(1-x*y)). - Frank Adams-Watters, Feb 06 2006

EXAMPLE

Top left corner of table:

0 0 0 0

0 1 1 1

0 1 2 2

0 1 2 3

PROG

(Haskell)

a004197 n k = a004197_tabl !! n !! k

a004197_tabl = map a004197_row [0..]

a004197_row n = hs ++ drop (1 - n `mod` 2) (reverse hs)

   where hs = [0..n `div` 2]

-- Reinhard Zumkeller, Aug 14 2011

CROSSREFS

A003983(n) - 1.

Sequence in context: A015339 A137867 A111143 * A048571 A025880 A058755

Adjacent sequences:  A004194 A004195 A004196 * A004198 A004199 A004200

KEYWORD

tabl,nonn,nice

AUTHOR

David W. Wilson (davidwwilson(AT)comcast.net)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 05:54 EST 2012. Contains 205985 sequences.