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.

A095138 Indices of primes in A095137(n).

Original entry on oeis.org

1, 3, 4, 5, 6, 7, 17, 22, 25, 29, 34, 40, 58, 78, 99, 146, 249, 554, 767, 963
Offset: 1

Views

Author

Robert G. Wilson v, May 28 2004

Keywords

Crossrefs

Cf. A095137.

Programs

  • Mathematica
    f[n_] := Abs[ Product[ Prime[i], {i, 2, n, 2}] + Product[ Prime[i], {i, 1, n, 2}]]; f[1] = 2; Do[ If[ PrimeQ[ f[n]], Print[n]], {n, 1000}]