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.

Showing 1-1 of 1 results.

A179437 a(n) = |2n - prime(n)|.

Original entry on oeis.org

0, 1, 1, 1, 1, 1, 3, 3, 5, 9, 9, 13, 15, 15, 17, 21, 25, 25, 29, 31, 31, 35, 37, 41, 47, 49, 49, 51, 51, 53, 65, 67, 71, 71, 79, 79, 83, 87, 89, 93, 97, 97, 105, 105, 107, 107, 117, 127, 129, 129, 131, 135, 135, 143, 147, 151, 155, 155, 159, 161, 161, 169, 181, 183, 183, 185, 197
Offset: 1

Views

Author

Odimar Fabeny, Jul 14 2010

Keywords

Crossrefs

A variant of A173072. Cf. A000040.

Programs

Formula

a(n) = prime(n) - 2*n for n != 2, 3, 4; a(n) = 1 otherwise. - Jianing Song, Jan 15 2023

Extensions

More terms from N. J. A. Sloane, Jul 14 2010
Showing 1-1 of 1 results.