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.

A092308 For p=prime(n), a(n) = the number of primes q such that q-1 divides p-1.

Original entry on oeis.org

1, 2, 3, 3, 3, 5, 4, 4, 3, 4, 5, 7, 5, 4, 3, 4, 3, 8, 5, 4, 8, 4, 3, 5, 7, 5, 4, 3, 8, 6, 6, 4, 4, 5, 4, 6, 8, 5, 3, 4, 3, 11, 4, 8, 5, 7, 8, 4, 3, 6, 5, 3, 11, 4, 5, 3, 4, 7, 8, 8, 4, 4, 6, 4, 9, 4, 8, 10, 3, 7, 7, 3, 4, 6, 7, 3, 4, 11, 8, 8, 4, 13, 4, 11, 4, 3, 7, 7, 6, 7, 3, 3, 6, 5, 5, 3, 4, 8, 6, 14, 6, 4
Offset: 1

Views

Author

T. D. Noe, Feb 12 2004

Keywords

Comments

For many primes p, there are only 3 primes (2,3,p) such that q-1|p-1. See A092307 for a list of those primes.

Examples

			a(12)=7 because for prime(12)=37 there are seven primes q={2, 3, 5, 7, 13, 19, 37} such that q-1 divides 36.
		

Crossrefs

Cf. A092307 (primes for which a(n)=3).

Programs

  • Mathematica
    Table[p=Prime[n]; Length[Select[Divisors[p-1]+1, PrimeQ]], {n, 150}]