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.

A066776 Numbers n such that A043347(n) is a prime.

Original entry on oeis.org

1, 2, 3, 4, 69, 113
Offset: 1

Views

Author

Joseph L. Pe, Jan 14 2002

Keywords

Comments

A043347(170) already has over a thousand digits.

Programs

  • Mathematica
    a[n_] := (k = Prime[ Floor[n^(3/2)]] + 6; l = Sum[ Prime[i], {i, 1, n - 1} ]; b = ""; Do[ b = StringJoin[b, ToString[ Prime[i]]], {i, 1, k} ]; Return[ ToExpression[ StringTake[ StringDrop[b, l], Prime[n]]]]); Do[ If[ PrimeQ[ a[n]], Print[n]], {n, 1, 180} ]