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.

A133225 Largest prime <= 2^((n+1)/2).

Original entry on oeis.org

2, 2, 3, 5, 7, 11, 13, 19, 31, 43, 61, 89, 127, 181, 251, 359, 509, 719, 1021, 1447, 2039, 2887, 4093, 5791, 8191, 11579, 16381, 23167, 32749, 46337, 65521, 92681, 131071, 185363, 262139, 370723, 524287, 741431, 1048573, 1482907, 2097143, 2965819
Offset: 1

Views

Author

Anthony C Robin, Jan 03 2008

Keywords

Comments

If one is trying to decide whether an n+1 digit binary number is prime, this is the largest prime for which one needs to test divisibility. For example a six digit number like 110101 must be below 64, so only primes up to 7 are needed to test divisibility. Compare with sequence A132153.

Crossrefs

Cf. A132153.

Programs

Formula

a(n) = A007917[A017910(n+1)]. - R. J. Mathar

Extensions