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.

A138291 Number of primes of the form prime(n)+g, where g is a primitive root of prime(n).

Original entry on oeis.org

1, 1, 1, 0, 3, 1, 3, 1, 2, 4, 2, 2, 4, 3, 2, 7, 10, 3, 3, 3, 4, 6, 10, 7, 6, 11, 7, 12, 7, 9, 6, 10, 14, 10, 17, 10, 10, 12, 11, 13, 22, 7, 9, 11, 16, 10, 5, 13, 23, 8, 23, 12, 9, 23, 26, 22, 25, 13, 12, 14, 13, 19, 12, 18, 14, 32, 17, 18, 30, 22, 32, 21, 20, 14, 17, 28, 30, 19, 19, 21
Offset: 1

Views

Author

T. D. Noe, Mar 12 2008

Keywords

Comments

It appears that only a(4), corresponding to the prime 7, is zero.

Examples

			a(5)=3 because the primitive roots of 11 are 2, 6, 7 and 8. Adding these numbers to 11 produce three primes: 13, 17 and 19.
		

Crossrefs

Cf. A047934, A060749 (triangle of primitive roots of primes).

Programs