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.

A139115 a(n) = p*(p - 1), where p is A000043(n).

Original entry on oeis.org

2, 6, 20, 42, 156, 272, 342, 930, 3660, 7832, 11342, 16002, 270920, 367842, 1634562, 4851006, 5200680, 10345872, 18083756, 19558506, 93867032, 98813540, 125720156, 397464032, 470911700, 538634472, 1979938512, 7437768806, 12210802506
Offset: 1

Views

Author

Omar E. Pol, May 10 2008

Keywords

Crossrefs

Programs

  • Mathematica
    #(#-1)&/@MersennePrimeExponent[Range[30]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 15 2020 *)

Formula

a(n) = A000043(n)*(A000043(n) - 1).

Extensions

More terms from Vincenzo Librandi, May 11 2010