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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156074 A triangular sequence: t(n,m)=3 + Prime[n + 1] - Prime[m + 1] - Prime[n - m + 1]. 0
1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 4, 4, 4, 1, 1, 2, 4, 4, 2, 1, 1, 4, 4, 6, 4, 4, 1, 1, 2, 4, 4, 4, 4, 2, 1, 1, 4, 4, 6, 4, 6, 4, 4, 1, 1, 6, 8, 8, 8, 8, 8, 8, 6, 1, 1, 2, 6, 8, 6, 8, 6, 8, 6, 2, 1 (list; table; graph; refs; listen; history; internal format)
OFFSET

0,5

COMMENTS

Row sums are:

{1, 2, 4, 6, 14, 14, 24, 22, 34, 62, 54,...}

FORMULA

t(n,m)=3 + Prime[n + 1] - Prime[m + 1] - Prime[n - m + 1].

EXAMPLE

{1},

{1, 1},

{1, 2, 1},

{1, 2, 2, 1},

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

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

{1, 4, 4, 6, 4, 4, 1},

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

{1, 4, 4, 6, 4, 6, 4, 4, 1},

{1, 6, 8, 8, 8, 8, 8, 8, 6, 1},

{1, 2, 6, 8, 6, 8, 6, 8, 6, 2, 1}

MATHEMATICA

t[n_, m_] = 3 + Prime[n + 1] - Prime[m + 1] - Prime[n - m + 1];

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

Flatten[%]

CROSSREFS

Sequence in context: A101566 A176653 A174842 * A051287 A176261 A202340

Adjacent sequences:  A156071 A156072 A156073 * A156075 A156076 A156077

KEYWORD

nonn,tabl,uned

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Feb 03 2009

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 14 00:47 EST 2012. Contains 205567 sequences.