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.

A308453 Number of integer-sided triangles with perimeter n whose smallest side length is squarefree.

Original entry on oeis.org

0, 0, 1, 0, 1, 1, 2, 1, 3, 2, 4, 2, 4, 2, 5, 3, 6, 5, 8, 6, 10, 8, 12, 9, 13, 10, 14, 10, 14, 11, 15, 12, 17, 14, 19, 16, 21, 18, 24, 20, 26, 23, 29, 25, 32, 28, 35, 31, 38, 34, 42, 37, 45, 40, 48, 42, 51, 45, 54, 47, 56, 49, 59, 52, 62, 56, 66, 59, 70, 63
Offset: 1

Views

Author

Wesley Ivan Hurt, May 27 2019

Keywords

Examples

			There exist A005044(12) = 3 integer-sided triangles with perimeter = 12; these three triangles have respectively sides: (2, 5, 5), (3, 4, 5) or (4, 4, 4). Only the last one: (4, 4, 4) has a smallest side length = 4 that is not squarefree, so a(12) = 2. - _Bernard Schott_, Jan 22 2023
		

Crossrefs

Programs

  • Mathematica
    Table[Sum[Sum[ MoebiusMu[k]^2* Sign[Floor[(i + k)/(n - i - k + 1)]], {i, k, Floor[(n - k)/2]}], {k, Floor[n/3]}], {n, 100}]

Formula

a(n) = Sum_{k=1..floor(n/3)} Sum_{i=k..floor((n-k)/2)} sign(floor((i+k)/(n-i-k+1))) * mu(k)^2, where mu is the Möbius function (A008683).

A308455 Number of integer-sided triangles with perimeter n and side lengths a, b and c such that a <= b <= c, and b is squarefree.

Original entry on oeis.org

0, 0, 1, 0, 1, 1, 2, 1, 2, 1, 2, 1, 3, 3, 6, 5, 7, 6, 7, 5, 7, 5, 7, 5, 7, 6, 9, 8, 12, 12, 16, 15, 19, 17, 21, 19, 23, 21, 26, 23, 27, 25, 29, 26, 31, 28, 33, 30, 35, 32, 37, 33, 38, 35, 40, 37, 42, 39, 44, 41, 47, 45, 52, 49, 55, 52, 58, 54, 61, 57, 64, 60
Offset: 1

Views

Author

Wesley Ivan Hurt, May 27 2019

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Sum[Sum[ MoebiusMu[i]^2* Sign[Floor[(i + k)/(n - i - k + 1)]], {i, k, Floor[(n - k)/2]}], {k, Floor[n/3]}], {n, 100}]

Formula

a(n) = Sum_{k=1..floor(n/3)} Sum_{i=k..floor((n-k)/2)} sign(floor((i+k)/(n-i-k+1))) * mu(i)^2, where mu is the Möbius function (A008683).
Showing 1-2 of 2 results.