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

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

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; text; internal format)
OFFSET

0,5

COMMENTS

Row sums are:

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

LINKS

Table of n, a(n) for n=0..65.

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 A278218 A216031

Adjacent sequences:  A156071 A156072 A156073 * A156075 A156076 A156077

KEYWORD

nonn,tabl,uned

AUTHOR

Roger L. Bagula, Feb 03 2009

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 January 18 13:59 EST 2019. Contains 319271 sequences. (Running on oeis4.)