(Translated by https://www.hiragana.jp/)
# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a078126 Showing 1-1 of 1 %I A078126 #41 Aug 06 2024 14:47:53 %S A078126 -1,-1,0,1,3,5,8,11,15,19,24,29,35,41,48,55,63,71,80,89,99,109,120, %T A078126 131,143,155,168,181,195,209,224,239,255,271,288,305,323,341,360,379, %U A078126 399,419,440,461,483,505,528,551,575,599,624,649,675,701,728,755,783,811 %N A078126 Negative determinant of n X n matrix M_{i,j}=1 if i=j or i+j=1 (mod 2). %C A078126 Apparently, also 6(n+3) times the Dedekind sum s(2,n+3). - _Ralf Stephan_, Sep 16 2013 %H A078126 Moira Chas and Anthony Phillips, Self-intersection numbers of curves in the doubly-punctured plane , arXiv:1001.4568 [math.GT], 2010. [_Jonathan Vos Post_, Jan 27 2010] %H A078126 Eric Weisstein's World of Mathematics, Dedekind Sum %H A078126 Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1). %F A078126 G.f.: (-1 + x + 2*x^2 - x^3) / ((1 - x^2) * (1 - x)^2). %F A078126 a(n) = A002620(n) - 1. %F A078126 a(n) = A002623(n-2) - A002623(n-3) - 1. %F A078126 a(n) = A024206(n-1) for all n in Z. %F A078126 a(n) = floor( (n+2)(n-2)/4 ). - _Wesley Ivan Hurt_, Jun 16 2013 %F A078126 A004526(n) = a(n) - a(n-1) for all n in Z. - _Michael Somos_, Aug 22 2016 %F A078126 a(n) = Sum_{i=1..n+2} floor((n-i+1)/2). - _Wesley Ivan Hurt_, Sep 12 2017 %F A078126 E.g.f.: ((x^2 + x - 4)*cosh(x) + (x^2 + x - 5)*sinh(x))/4. - _Stefano Spezia_, Aug 06 2024 %e A078126 G.f. = -1 - x + x^3 + 3*x^4 + 5*x^5 + 8*x^6 + 11*x^7 + 15*x^8 + 19*x^9 + ... %p A078126 A078126:=n->floor((n + 2)*(n - 2)/4); seq(A078126(n), n=0..100); # _Wesley Ivan Hurt_, Jan 30 2014 %t A078126 Table[Floor[(n + 2)(n - 2)/4], {n, 0, 100}] (* _Wesley Ivan Hurt_, Jan 30 2014 *) %t A078126 LinearRecurrence[{2,0,-2,1},{-1,-1,0,1},60] (* _Harvey P. Dale_, Sep 10 2015 *) %t A078126 a[n_]:=-Det[Table[If[i==j ||Mod[i+j,2]==1,1,0],{i,n},{j,n}]]; Join[{-1},Array[a,57]] (* _Stefano Spezia_, Aug 06 2024 *) %o A078126 (PARI) a(n)=-matdet(matrix(n,n,i,j,i==j||((i+j)%2))) /* _Ralf Stephan_, Sep 16 2013 */ %o A078126 (PARI) a(n)=sumdedekind(2,n+3)*6*(n+3) /* _Ralf Stephan_, Sep 16 2013 */ %Y A078126 Cf. A002620, A002623, A004526, A024206. %K A078126 sign,easy,nice %O A078126 0,5 %A A078126 _Michael Somos_, Nov 18 2002 %E A078126 A-number twister corrected in cross-refs by _R. J. Mathar_, Feb 11 2010 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE