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.

A060852 Sum of number of pips on dice in shape of Platonic solids.

Original entry on oeis.org

10, 21, 36, 78, 210
Offset: 1

Views

Author

Philip Newton, Aug 09 2001

Keywords

Comments

This is obviously a finite sequence, since there are only five Platonic solids.

Examples

			The third number in the sequence is 36 because the third Platonic solid has eight faces and the pips on an eight-faced die add up to 36 [by sum_1^n(n) = 1/2 * n * (n+1), so 1/2 * 8 * 9 = 36 for n = 8].
		

Crossrefs

Cf. A053016.

Programs

  • Mathematica
    # (# + 1)/2 & /@ {4, 6, 8, 12, 20} (* Robert G. Wilson v, Apr 18 2008 *)
  • Perl
    for $n (4, 6, 8, 12, 20) { print $n*($n+1)/2 }