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.

A330096 a(n) = (16/3) * squared area of a triangle with sides prime(n), prime(n+1), and prime(n+2).

Original entry on oeis.org

0, 225, 897, 7905, 27265, 61985, 134225, 253825, 537425, 1015105, 1613745, 2587585, 3562545, 4925921, 7485985, 10837585, 14816945, 18923905, 24289265, 30135105, 37040465, 48281105, 63033425, 82430705, 100968945, 115087105, 127426145, 144189185
Offset: 1

Views

Author

Hugo Pfoertner, Dec 01 2019

Keywords

Crossrefs

Cf. A096377.

Programs

  • PARI
    squaredarea(a,b,c)={my(s=(a+b+c)/2);s*(s-a)*(s-b)*(s-c)};
    for(n=1,28,print1((16/3)*squaredarea(prime(n),prime(n+1),prime(n+2)),", "))