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.

A375198 Numbers k such that A025487(k)-1 and A025487(k)+1 are twin primes.

Original entry on oeis.org

3, 4, 6, 9, 13, 15, 20, 21, 24, 29, 30, 42, 54, 56, 59, 72, 77, 83, 96, 104, 105, 109, 138, 161, 166, 174, 186, 203, 208, 221, 232, 237, 266, 270, 288, 295, 336, 338, 347, 387, 389, 395, 400, 401, 449, 468, 469, 472, 479, 506, 520, 543, 584, 617, 633, 643, 668
Offset: 1

Views

Author

Amiram Eldar, Aug 04 2024

Keywords

Crossrefs

Similar sequences: A321995, A353302.

Programs

  • Mathematica
    Position[Cases[Import["https://oeis.org/A025487/b025487.txt", "Table"], {, }][[;; , 2]], _?(PrimeQ[# - 1] && PrimeQ[# + 1] &)] // Flatten

Formula

A025487(a(n)) = A375197(n).