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.

A030123 Most likely total for a roll of n 6-sided dice, choosing the smallest if there is a choice.

Original entry on oeis.org

0, 1, 7, 10, 14, 17, 21, 24, 28, 31, 35, 38, 42, 45, 49, 52, 56, 59, 63, 66, 70, 73, 77, 80, 84, 87, 91, 94, 98, 101, 105, 108, 112, 115, 119, 122, 126, 129, 133, 136, 140, 143, 147, 150, 154, 157, 161, 164, 168, 171, 175, 178, 182, 185, 189, 192
Offset: 0

Views

Author

Keywords

Comments

In fact ceiling(7n/2) is just as likely as floor(7n/2), so sequence could equally well be A047345. - Henry Bottomley, Jan 19 2001. a(1) is the only exception to this rule. - Dmitry Kamenetsky, Nov 03 2017

Crossrefs

Cf. A047355.

Programs

Formula

a(n) = floor(7*n/2) for n >= 2.
From Colin Barker, Jun 09 2013: (Start)
a(n) = a(n-1) + a(n-2) - a(n-3) for n >= 5.
G.f.: x - x^2 * (3*x^2-3*x-7) / ((x-1)^2*(x+1)). (End)

Extensions

a(0) and a(1) added by Dmitry Kamenetsky, Nov 03 2017