login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A176505 Triangle T(n,m) read by rows: T(n,m) = a(n) - a(m) - a(n-m) + 1, where a(n) = A000931(n+4). 1
1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 2, 3, 2, 3, 2, 1, 1, 1, 2, 3, 4, 4, 4, 4, 3, 2, 1, 1, 2, 4, 5, 5, 6, 5, 5, 4, 2, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,25

LINKS

Indranil Ghosh, Rows 0..120, flattened

Indranil Ghosh, Python Program to generate the b-file

FORMULA

T(n,m) = a(n) - a(m) - a(n-m) + 1, a(n) = A000931(n+4).

EXAMPLE

Triangle:

{1},

{1, 1},

{1, 0, 1},

{1, 0, 0, 1},

{1, 1, 1, 1, 1},

{1, 0, 1, 1, 0, 1},

{1, 1, 1, 2, 1, 1, 1},

{1, 1, 2, 2, 2, 2, 1, 1},

{1, 1, 2, 3, 2, 3, 2, 1, 1},

{1, 2, 3, 4, 4, 4, 4, 3, 2, 1},

{1, 2, 4, 5, 5, 6, 5, 5, 4, 2, 1},

...

T(6,3) = a(6) - a(3) - a(6-3) + 1 = a(6) - 2 * a(3) + 1 = 3 - (2 * 1) + 1 = 2. - Indranil Ghosh, Feb 17 2017

MATHEMATICA

a[0] := 0; a[1] := 1; a[2] := 1;

a[n_] := a[n] = a[n - 2] + a[n - 3];

t[n_, m_] := t[n, m] = a[n] - a[m] - a[n - m] + 1;

Table[Table[t[n, m], {m, 0, n}], {n, 0, 10}];

Flatten[%]

CROSSREFS

Cf. A000931.

Sequence in context: A080356 A184167 A036541 * A338521 A036225 A236859

Adjacent sequences:  A176502 A176503 A176504 * A176506 A176507 A176508

KEYWORD

nonn,tabl,easy,less

AUTHOR

Roger L. Bagula, Apr 19 2010

EXTENSIONS

Name and formula sections corrected by Indranil Ghosh, Feb 17 2017

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 01:25 EST 2021. Contains 349558 sequences. (Running on oeis4.)