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.

A152530 a(n) = p(n)*p(n+2)-p(n+1), where p(n) is the n-th prime.

Original entry on oeis.org

7, 16, 48, 80, 174, 230, 372, 528, 684, 1042, 1234, 1550, 1884, 2232, 2720, 3174, 3892, 4264, 4820, 5536, 5980, 6948, 7962, 8892, 9890, 10704, 11120, 11982, 13730, 14676, 17268, 18072, 20274, 20840, 23242, 24456, 26056, 28032
Offset: 1

Views

Author

Omar E. Pol, Dec 06 2008

Keywords

Crossrefs

Programs

  • Maple
    A152530 := proc(n)
        ithprime(n)*ithprime(n+2)-ithprime(n+1) ;
    end proc: # R. J. Mathar, Jul 28 2015
  • Mathematica
    #[[1]]#[[3]]-#[[2]]&/@Partition[Prime[Range[50]],3,1] (* Harvey P. Dale, Dec 19 2012 *)