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!)
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
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: A322080 A361958 A334122 * A092488 A068527 A361989
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 19:56 EDT 2024. Contains 371916 sequences. (Running on oeis4.)