cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A159482 Greatest odd prime q < 2*n such that p < q and p prime and p = 2*n - q or 0 if no such prime exists.

Original entry on oeis.org

0, 0, 0, 5, 7, 7, 11, 13, 13, 17, 19, 19, 23, 23, 23, 29, 31, 31, 31, 37, 37, 41, 43, 43, 47, 47, 47, 53, 53, 53, 59, 61, 61, 61, 67, 67, 71, 73, 73, 73, 79, 79, 83, 83, 83, 89, 89, 89, 79, 97, 97, 101, 103, 103, 107, 109, 109, 113, 113, 113, 109, 113, 113, 109, 127, 127
Offset: 1

Views

Author

Pierre CAMI, Apr 14 2009

Keywords

Comments

q + p = 2*n and p*q = ((q+p)/2)^2 - ((q-p)/2)^2 = n^2 - ((q-p)/2)^2.
Essentially the same as A020482. - R. J. Mathar, Oct 24 2009