OFFSET
1,2
COMMENTS
Left border of the triangle (1, 2, 6, 13, 23, 36, ...) = A143689 = A000326(n) - 3n, where A000326 = the pentagonal numbers, right border. - Gary W. Adamson, Aug 29 2008
Row sums = A143690: (1, 7, 27, 70, 145, 261, 427, 652, ...). - Gary W. Adamson, Aug 29 2008
Central terms = A136392. - Reinhard Zumkeller, Jan 18 2012
LINKS
Reinhard Zumkeller, Rows n = 1..120 of triangle, flattened
Douglas E. Iannucci and Donna Mills-Taylor, On Generalizing the Connell Sequence, J. Integer Sequences, Vol. 2, 1999, #99.1.7.
Gary E. Stevens, A Connell-Like Sequence, J. Integer Sequences, 1 (1998), #98.1.4.
MATHEMATICA
row[n_] := n*(3*n-1)/2 + Range[1, 3*n+1, 3]; Flatten[ Table[ row[n], {n, 0, 11}]] (* Jean-François Alcover, Aug 03 2012 *)
PROG
(Haskell)
a033292 n k = a033292_tabl !! (n-1) !! (k-1)
a033292_row n = a033292_tabl !! (n-1)
a033292_tabl = f 1 [1..] where
f k xs = ys : f (k+1) (dropWhile (<= last ys) xs) where
ys = take k $ filter ((== 0) . (`mod` 3) . (subtract k)) xs
-- Reinhard Zumkeller, Jan 18 2012 2011
CROSSREFS
KEYWORD
AUTHOR
EXTENSIONS
More terms from jeroen.lahousse(AT)icl.com
Offset changed by Reinhard Zumkeller, Jan 18 2012
STATUS
approved