login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A307987 Number of integer-sided triangles with perimeter n and at least one nonsquarefree side. 0
0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 8, 7, 9, 7, 8, 8, 13, 12, 13, 12, 14, 12, 13, 13, 19, 18, 19, 19, 24, 24, 24, 24, 30, 31, 31, 31, 32, 32, 32, 33, 39, 40, 46, 46, 49, 47, 55, 54, 63, 60, 64, 63, 67, 62, 66, 66, 75, 72, 76, 77, 79, 75, 79 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
LINKS
Wikipedia, Integer Triangle
FORMULA
a(n) = Sum_{k=1..floor(n/3)} Sum_{i=k..floor((n-k)/2)} sign(floor((i+k)/(n-i-k+1))) * (1 - mu(i)^2 * mu(k)^2 * mu(n-i-k)^2), where mu is the Möbius function (A008683).
a(n) = A005044(n) - A308061(n).
MATHEMATICA
Table[Sum[Sum[(1 - MoebiusMu[i]^2*MoebiusMu[k]^2*MoebiusMu[n - i - k]^2)*Sign[Floor[(i + k)/(n - i - k + 1)]], {i, k, Floor[(n - k)/2]}], {k, Floor[n/3]}], {n, 100}]
CROSSREFS
Sequence in context: A008857 A244463 A307590 * A047935 A365882 A103795
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 18 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 13:11 EDT 2024. Contains 371913 sequences. (Running on oeis4.)