|
| |
|
|
A075681
|
|
Difference between (n-1)*(n-2)^3 and A003878.
|
|
2
| |
|
|
0, 0, 2, 21, 60, 121, 207, 321, 466, 645, 861, 1117, 1416, 1761, 2155, 2601, 3102, 3661, 4281, 4965, 5716, 6537, 7431, 8401, 9450, 10581, 11797, 13101, 14496, 15985, 17571, 19257, 21046, 22941, 24945, 27061, 29292, 31641, 34111, 36705
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,3
|
|
|
LINKS
| Ed Pegg Jr., Pancakes
|
|
|
FORMULA
| 1/2*n^3+7/2*n^2-23n+25, for n>2. G.f.: (x^7-x^6-12x^5+13x^4+2x^3)/(1-x)^4. - Ralf Stephan (ralf(AT)ark.in-berlin.de), Mar 13 2003
|
|
|
EXAMPLE
| 4 gives 3*2*2*2=24. Prefix flips involving 4 flips give 3, hence a[4]=24-3=21.
|
|
|
CROSSREFS
| Sequence in context: A074875 A097718 A180232 * A034520 A111128 A129556
Adjacent sequences: A075678 A075679 A075680 * A075682 A075683 A075684
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Jon Perry (perry(AT)globalnet.co.uk), Oct 12 2002
|
|
|
EXTENSIONS
| More terms from Ralf Stephan (ralf(AT)ark.in-berlin.de), Mar 13 2003
|
| |
|
|