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.

A356868 a(n) = n^2 * prime(n).

Original entry on oeis.org

2, 12, 45, 112, 275, 468, 833, 1216, 1863, 2900, 3751, 5328, 6929, 8428, 10575, 13568, 17051, 19764, 24187, 28400, 32193, 38236, 43907, 51264, 60625, 68276, 75087, 83888, 91669, 101700, 122047, 134144, 149193, 160684, 182525, 195696, 214933, 235372, 254007, 276800, 300899
Offset: 1

Views

Author

Alex Ratushnyak, Sep 01 2022

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := n^2 * Prime[n]; Array[a, 40] (* Amiram Eldar, Sep 02 2022 *)
  • Python
    from sympy import prime
    def a(n): return n**2 * prime(n)
    print([a(n) for n in range(1, 41)]) # Michael S. Branicky, Sep 01 2022