login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047886 Triangle read by rows: T(n,k) = pi(n+k) - pi(n) - pi(k), where pi() = A000720 (n >= 0, 0 <= k <= n). 7
0, 0, 1, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0, 0, 0, -1, -1, -2, 0, 1, 0, -1, -1, -1, -1, 0, 0, -1, -2, -1, -2, -1, -2, 0, 0, -1, -1, -1, -1, -1, -2, -2, 0, 0, 0, -1, 0, -1, -1, -2, -1, -1, 0, 1, 0, 0, 0, -1, -1, -1, -1, 0, 0, 0, 0, 0, -1, -1, -2, -1, -2, -1, -1, -1, -2, 0, 1, 0, -1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,21

COMMENTS

T(n,0)=0; for n > 0: T(n,1)=A010051(n); T(n,n)=-A060208(n). - Reinhard Zumkeller, Apr 15 2008

A212210-A212213 are the preferred versions of this array.

LINKS

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

EXAMPLE

Triangle begins

  0;

  0,  1;

  0,  1,  0;

  0,  0,  0, -1;

  0,  1,  0,  0,  0;

  0,  0,  0, -1, -1, -2;

  ...

MATHEMATICA

Flatten[Table[PrimePi[n+k]-PrimePi[n]-PrimePi[k], {n, 0, 20}, {k, 0, n}]] (* Harvey P. Dale, Feb 22 2012 *)

CROSSREFS

Cf. A047885, A212210-A212213.

Sequence in context: A050370 A050374 A238877 * A239366 A014944 A015879

Adjacent sequences:  A047883 A047884 A047885 * A047887 A047888 A047889

KEYWORD

sign,easy,tabl

AUTHOR

N. J. A. Sloane

EXTENSIONS

More terms from James A. Sellers, Dec 22 1999

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 28 14:44 EDT 2022. Contains 357073 sequences. (Running on oeis4.)