login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A139039
A triangular central symmetric sequence based on the sequence A003269: if m <= floor(n/2), t(n,m) = A003269(m+2), otherwise t(n,m) = A003269(n - (m+2)).
0
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 2, 3, 2, 1, 1, 1, 1, 1, 1, 2, 3, 3, 2, 1, 1, 1, 1, 1, 1, 2, 3, 4, 3, 2, 1, 1, 1
OFFSET
1,25
COMMENTS
Row sums: {1, 2, 3, 4, 5, 6, 8, 10, 13, 16, 20, ...}. [Is this A186445 or A080078? - N. J. A. Sloane, Feb 10 2013]
The A003269 sequence is pushed back twice, so that the triangle is not almost all ones.
FORMULA
a(n) = a(n-1) + a(n-4); t(n,m) = a(m) if m <= floor(n/2), a(n-m) otherwise.
EXAMPLE
{1},
{1, 1},
{1, 1, 1},
{1, 1, 1, 1},
{1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1},
{1, 1, 1, 2, 1, 1, 1},
{1, 1, 1, 2, 2, 1, 1, 1},
{1, 1, 1, 2, 3, 2, 1, 1, 1},
{1, 1, 1, 2, 3, 3, 2, 1, 1, 1},
{1, 1, 1, 2, 3, 4, 3, 2, 1, 1, 1}
MATHEMATICA
Clear[a]; a[ -2] = 0; a[ -1] = 1; a[0] = 1; a[1] = 1; a[n_] := a[n] = a[n - 1] + a[n - 4]; (* A003269 *) Table[If[m <= Floor[n/2], a[m], a[n-m] ] , {n, 0, 10}, {m, 0, n}]
CROSSREFS
Sequence in context: A319582 A187447 A146292 * A279061 A206491 A359997
KEYWORD
nonn,tabl,uned
AUTHOR
EXTENSIONS
Non-ASCII characters removed and Mathematica code corrected by Wouter Meeussen, Feb 10 2013
STATUS
approved