OFFSET
1,2
COMMENTS
LINKS
T. D. Noe, Rows n = 1..100 of triangle, flattened
EXAMPLE
Rows are:
n=1: 1
n=2: 7,5,1
n=3: 25,23,19,11
n=4: 79,77,73,65,49,17
n=5: 241,239,235,227,211,179,115.
MATHEMATICA
Flatten[Table[3^k - 2^m, {k, 10}, {m, Floor[Log[2, 3^k]]}]]
PROG
(Haskell)
a196486 n k = a196486_tabf !! (n-1) !! (k-1)
a196486_row n = a196486_tabf !! (n-1)
a196486_tabf = map (tail . reverse) $ tail a227048_tabf
-- Reinhard Zumkeller, Jun 30 2013
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Zak Seidov, Oct 03 2011
STATUS
approved