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!)
A308166 Number of integer-sided triangles with perimeter n such that the smallest side divides the largest. 1
0, 0, 1, 0, 1, 1, 1, 0, 3, 1, 1, 1, 3, 2, 3, 0, 3, 3, 3, 2, 5, 2, 2, 2, 6, 4, 5, 2, 4, 4, 4, 3, 8, 5, 5, 3, 6, 5, 6, 3, 7, 7, 7, 6, 9, 4, 4, 4, 10, 8, 9, 6, 8, 8, 8, 5, 10, 7, 7, 7, 11, 10, 11, 6, 11, 9, 9, 8, 11, 8, 8, 8, 14, 13, 14, 9, 11, 9, 9, 8, 15, 11 (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 - ceiling((n-i-k)/k) + floor((n-i-k)/k)).
MATHEMATICA
Table[Sum[Sum[(1 - Ceiling[(n - i - k)/k] + Floor[(n - i - k)/k]) Sign[Floor[(i + k)/(n - i - k + 1)]], {i, k, Floor[(n - k)/2]}], {k, Floor[n/3]}], {n, 100}]
CROSSREFS
Cf. A307828.
Sequence in context: A359577 A030401 A275888 * A295931 A295920 A176187
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 15 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 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)