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.

A307711 a(n) is the least number k such that exactly fraction 1/n of the members of the reduced residue system mod k are prime, or 0 if there is no such k.

Original entry on oeis.org

3, 31, 97, 331, 1009, 3067, 11513, 27403, 64621, 185617, 480853, 1333951, 3524431, 9558361, 26080333, 70411483, 189961939
Offset: 2

Views

Author

J. M. Bergot and Robert Israel, Apr 23 2019

Keywords

Comments

a(n) is the least number k, if any exists, such that A000010(k)/A048865(k) = n.
a(n) = A307712(m) for the least m such that A307713(m)=n.

Examples

			Of the 30 members of the reduced residue system mod 31, exactly one-third, namely 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, are prime.  31 is the least number with this property, so a(3) = 31.
		

Crossrefs

Programs

Formula

n*A048865(a(n)) = A000010(a(n)).