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-2 of 2 results.

A060264 First prime after 2n.

Original entry on oeis.org

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

Views

Author

Labos Elemer, Mar 23 2001

Keywords

Comments

Conjecture: for n > 2, this is the least prime p such that 1^2, 2^2, 3^2, ..., n^2 are distinct mod p. Checked to 10^4. - Charles R Greathouse IV, Dec 03 2022

Crossrefs

Programs

Formula

a(n) = A151800(2*n). - Reinhard Zumkeller, Nov 15 2013

A088631 Largest number m < n such that m+n is a prime.

Original entry on oeis.org

1, 2, 3, 2, 5, 6, 5, 8, 9, 8, 11, 10, 9, 14, 15, 14, 13, 18, 17, 20, 21, 20, 23, 22, 21, 26, 25, 24, 29, 30, 29, 28, 33, 32, 35, 36, 35, 34, 39, 38, 41, 40, 39, 44, 43, 42, 41, 48, 47, 50, 51, 50, 53, 54, 53, 56, 55, 54, 53, 52, 51, 50, 63, 62, 65, 64, 63, 68, 69, 68, 67, 66, 65, 74, 75
Offset: 2

Views

Author

N. J. A. Sloane, Nov 24 2003

Keywords

Examples

			Adding 1,2,3,2,5 to 2,3,4,5,6 we get the primes 3,5,7,7,11.
		

Crossrefs

Cf. A088633. Second column of A088643.

Programs

  • Haskell
    a088631 n = a060265 n - n  -- Reinhard Zumkeller, Feb 22 2015
  • Maple
    with(numtheory); A088631 := n->prevprime(2*n)-n;

Formula

a(n) = p-n where p = largest prime <= 2n-1.
a(n) = A060265(n) - n. - Reinhard Zumkeller, Feb 22 2015
Showing 1-2 of 2 results.