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.

Showing 1-2 of 2 results.

A070093 Number of acute integer triangles with perimeter n.

Original entry on oeis.org

0, 0, 1, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 2, 4, 3, 5, 4, 5, 5, 5, 6, 6, 6, 7, 7, 9, 8, 10, 9, 10, 10, 11, 12, 12, 12, 14, 13, 16, 14, 17, 16, 17, 18, 18, 20, 20, 20, 22, 22, 24, 23, 25, 26, 26, 27, 28, 30, 30, 29, 32, 31, 35, 33, 36, 36, 38, 39, 40, 40
Offset: 1

Views

Author

Reinhard Zumkeller, May 05 2002

Keywords

Comments

An integer triangle [A070080(k) <= A070081(k) <= A070082(k)] is acute iff A070085(k) > 0.

Examples

			For n=9 there are A005044(9)=3 integer triangles: [1,4,4], [2,3,4] and [3,3,3]; two of them are acute, as 2^2+3^2<16=4^2, therefore a(9)=2.
		

Crossrefs

Programs

  • Mathematica
    Table[Sum[Sum[(1 - Sign[Floor[(n - i - k)^2/(i^2 + k^2)]]) Sign[Floor[(i + k)/(n - i - k + 1)]], {i, k, Floor[(n - k)/2]}], {k, Floor[n/3]}], {n, 100}] (* Wesley Ivan Hurt, May 12 2019 *)

Formula

a(n) = A005044(n) - A070101(n) - A024155(n);
a(n) = A042154(n) + A070098(n).
a(n) = Sum_{k=1..floor(n/3)} Sum_{i=k..floor((n-k)/2)} (1-sign(floor((n-i-k)^2/(i^2+k^2)))) * sign(floor((i+k)/(n-i-k+1))). - Wesley Ivan Hurt, May 12 2019

A042155 Denominators of continued fraction convergents to sqrt(602).

Original entry on oeis.org

1, 1, 2, 13, 15, 28, 1359, 1387, 2746, 17863, 20609, 38472, 1867265, 1905737, 3773002, 24543749, 28316751, 52860500, 2565620751, 2618481251, 5184102002, 33723093263, 38907195265, 72630288528, 3525161044609, 3597791333137, 7122952377746, 46335505599613
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Denominator[Convergents[Sqrt[602], 30]] (* Vincenzo Librandi, Jan 15 2014 *)
    LinearRecurrence[{0,0,0,0,0,1374,0,0,0,0,0,-1},{1,1,2,13,15,28,1359,1387,2746,17863,20609,38472},30] (* Harvey P. Dale, May 20 2025 *)

Formula

G.f.: -(x^2-2*x-1)*(x^4-x^3+2*x^2+x+1)*(x^4+2*x^3+5*x^2-2*x+1) / (x^12-1374*x^6+1). - Colin Barker, Nov 19 2013

Extensions

More terms from Colin Barker, Nov 19 2013
Showing 1-2 of 2 results.