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.

A101043 A101042 sorted. There exists a prime p for which a(n) is the smallest positive d such that p is the smallest prime where p+d is also prime.

Original entry on oeis.org

1, 2, 6, 22, 88, 112, 116, 202, 242, 284, 470, 718, 772, 1326, 1328, 1334, 1642, 1732, 1762, 2402, 2558, 3274, 5246, 5888, 7094, 7702, 7984, 9512, 9952, 9974, 10342, 10532, 12688, 13528, 16766, 25678, 25708, 37666, 59894, 60458, 61756, 62156
Offset: 1

Views

Author

Jens Kruse Andersen, Nov 28 2004

Keywords

Comments

Except for n=1, A020483(a(n)/2) is the first appearance of a prime in A020483.

Examples

			d=6 is in the sequence because there exists the prime p=5 satisfying the required conditions: 2+6, 3+6 is composite and 5+6 is prime. 6 is the smallest such number.
		

Crossrefs