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.

A343946 Surface area of a right prism whose base is a regular n-gon with unit side length and unit height (rounded to the nearest integer).

This page as a plain text file.
%I A343946 #12 May 07 2021 00:58:35
%S A343946 4,6,8,11,14,18,21,25,30,34,39,45,50,56,62,69,76,83,91,99,107,115,124,
%T A343946 133,142,152,162,173,183,194,206,217,229,242,254,267,281,294,308,322,
%U A343946 337,352,367,382,398,414,431,447,464,482,500,518,536,555,574,593,612,632,653
%N A343946 Surface area of a right prism whose base is a regular n-gon with unit side length and unit height (rounded to the nearest integer).
%H A343946 Wikipedia, <a href="https://en.wikipedia.org/wiki/Prism_(geometry)">Prism (geometry)</a>
%F A343946 a(n) = round(n+n*cot(Pi/n)/2).
%e A343946 a(3) = 4; the surface area of a right prism whose base is an equilateral triangle with unit side lengths and height is 3+sqrt(3)/2 = 3.8660..., which rounds up to 4.
%e A343946 a(4) = 6 (surface area of a cube with unit side length and height).
%t A343946 Table[Round[n + n*Cot[Pi/n]/2], {n, 3, 100}]
%Y A343946 Cf. A134030 (volume).
%K A343946 nonn
%O A343946 3,1
%A A343946 _Wesley Ivan Hurt_, May 04 2021