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.

A178611 n-th semiprime minus sum of prime indices of the two factors of n-th semiprime.

Original entry on oeis.org

2, 3, 5, 6, 9, 10, 15, 16, 19, 19, 26, 26, 28, 29, 31, 36, 41, 42, 47, 47, 47, 50, 56, 58, 61, 68, 68, 75, 71, 75, 81, 80, 78, 84, 89, 97, 103, 100, 108, 111, 103, 108, 113, 121, 114, 124, 121, 132, 132, 124, 141, 135, 141, 148, 142, 157, 158, 153, 163, 170, 175, 168
Offset: 1

Views

Author

Juri-Stepan Gerasimov, May 30 2010

Keywords

Programs

  • Mathematica
    nn = 200; Sort[Reap[Do[n = Prime[i] * Prime[j] - i - j; If[n <= nn, Sow[n]], {i, PrimePi[nn/2]}, {j, i}]][[2, 1]]] (* T. D. Noe, Mar 16 2011 *)

Formula

a(n)=A001358(n)-A176504(n).

Extensions

Corrected (replaced 75 by 81) by R. J. Mathar, May 31 2010