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.

A026243 a(n) = A000522(n) - 2.

This page as a plain text file.
%I A026243 #37 Apr 26 2019 03:11:01
%S A026243 0,3,14,63,324,1955,13698,109599,986408,9864099,108505110,1302061343,
%T A026243 16926797484,236975164803,3554627472074,56874039553215,
%U A026243 966858672404688,17403456103284419,330665665962403998,6613313319248079999,138879579704209680020,3055350753492612960483
%N A026243 a(n) = A000522(n) - 2.
%C A026243 Number of operations of addition and multiplication needed to evaluate a determinant of order n by cofactor expansion.
%H A026243 Alois P. Heinz, <a href="/A026243/b026243.txt">Table of n, a(n) for n = 1..170</a>
%H A026243 C. Dubbs and D. Siegel, <a href="http://www.jstor.org/stable/2686317">Computing determinants</a>, College Math. J., 18 (1987), 48-49.
%H A026243 A. R. Pargeter, <a href="http://www.jstor.org/stable/3618385">The vanishing coffee morning</a>, Math. Gaz., 76 (1992), 386-387.
%H A026243 P. G. Sawtelle, <a href="http://www.jstor.org/stable/2689455">The ubiquitous e</a>, Math. Mag., 49 (1976), 244-245. [_N. J. A. Sloane_, Jan 29 2009]
%F A026243 a(n) = n*(a(n-1)+2)-1 for n>1, a(1) = 0. - _Alois P. Heinz_, May 25 2012
%F A026243 Conjecture: a(n) +(-n-2)*a(n-1) +(2*n-1)*a(n-2) +(-n+2)*a(n-3)=0. - _R. J. Mathar_, Jun 23 2013 [Confirmed by _Altug Alkan_, May 18 2018]
%F A026243 a(n) = floor(e*n!) - 2. - _Bernard Schott_, Apr 21 2019
%e A026243 To calculate a determinant of order 3:
%e A026243     |a b c|       |e f|       |d f|       |d e|
%e A026243 D = |d e f| = a * |h i| - b * |g i| + c * |g h| =
%e A026243     |g h i|
%e A026243    = a * (e*i - f*h) - b * (d*i - f*g) + c * (d*h - e*g).
%e A026243 There are 9 multiplications * and 5 additions (+ or -), so 14 operations and a(3) = 14. - _Bernard Schott_, Apr 21 2019
%p A026243 a:= proc(n) a(n):= n*(a(n-1)+2)-1: end: a(1):= 0:
%p A026243 seq (a(n), n=1..30);  # _Alois P. Heinz_, May 25 2012
%t A026243 Table[E*Gamma[n+1, 1] - 2, {n, 1, 30}] (* _Jean-François Alcover_, May 18 2018 *)
%Y A026243 Cf. A000522, A007526. Equals A033312 + A038156.
%Y A026243 Cf. A001339.
%K A026243 nonn
%O A026243 1,2
%A A026243 _N. J. A. Sloane_, based on a message from a correspondent who wishes to remain anonymous, Dec 21 2003