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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086802 Triangle read by rows in which row n lists (prime(n)-prime(k))/2 for 2 <= k <= n. 1
0, 1, 0, 2, 1, 0, 4, 3, 2, 0, 5, 4, 3, 1, 0, 7, 6, 5, 3, 2, 0, 8, 7, 6, 4, 3, 1, 0, 10, 9, 8, 6, 5, 3, 2, 0, 13, 12, 11, 9, 8, 6, 5, 3, 0, 14, 13, 12, 10, 9, 7, 6, 4, 1, 0, 17, 16, 15, 13, 12, 10, 9, 7, 4, 3, 0, 19, 18, 17, 15, 14, 12, 11, 9, 6, 5, 2, 0, 20, 19, 18, 16, 15, 13, 12, 10, 7, 6, 3, 1, 0 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

2,4

LINKS

Table of n, a(n) for n=2..92.

FORMULA

(3-3)/2=0; (5-3)/2=1; (5-5)/2=0; (7-3)/2=2; (7-5)/2=1; (7-7)/2=0

EXAMPLE

0;

1, 0;

2, 1, 0;

4, 3, 2, 0;

5, 4, 3, 1, 0;

7, 6, 5, 3, 2, 0;

8, 7, 6, 4, 3, 1, 0;

10, 9, 8, 6, 5, 3, 2, 0

PROG

(PARI) fn2(n) = forprime(x=3, n, forprime(y=3, x, print1((x-y)/2", ")))

CROSSREFS

Sequence in context: A201701 A131667 A322080 * A092488 A068527 A218599

Adjacent sequences:  A086799 A086800 A086801 * A086803 A086804 A086805

KEYWORD

easy,tabl,nonn

AUTHOR

Cino Hilliard, Aug 05 2003

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 September 17 11:03 EDT 2019. Contains 327129 sequences. (Running on oeis4.)