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.

A306192 a(n) = (n - 1)*prime(n + 1).

Original entry on oeis.org

0, 5, 14, 33, 52, 85, 114, 161, 232, 279, 370, 451, 516, 611, 742, 885, 976, 1139, 1278, 1387, 1580, 1743, 1958, 2231, 2424, 2575, 2782, 2943, 3164, 3683, 3930, 4247, 4448, 4917, 5134, 5495, 5868, 6179, 6574, 6981, 7240, 7831, 8106, 8471, 8756, 9495, 10258
Offset: 1

Views

Author

Stefano Spezia, Jan 28 2019

Keywords

Comments

For n > 1, a(n) is the subdiagonal sum of the matrix M(n) whose determinant is A318173(n).

Crossrefs

Programs

  • Magma
    [(n-1)*NthPrime(n+1): n in [1..100]];
    
  • Maple
    a := n -> (n-1)*ithprime(n+1): seq(a(n), n = 1 .. 100);
  • Mathematica
    a[n_]:=(n-1)*Prime[n+1]; Array[a,100]
  • PARI
    a(n) = (n-1)*prime(n+1);
    
  • Python
    from sympy import prime
    [(n-1)*prime(n+1) for n in range(1,100)]

Formula

a(n) = A033286(n + 1) - 2*A000040(n + 1).
a(n) = (n - 1)/(n + 1)*A033286(n + 1).