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.

A381337 a(n) is the smallest c >= A381336(n) + n for which a nondegenerate integer-sided triangle (A381336(n), A381336(n) + n, c) with an integer area exists.

Original entry on oeis.org

5, 10, 15, 20, 25, 30, 13, 20, 15, 50, 25, 60, 41, 26, 75, 40, 25, 30, 29, 50, 35, 26, 37, 30, 39, 52, 45, 52, 109, 82, 41, 80, 55, 50, 65, 60, 61, 58, 61, 68, 73, 70, 65, 52, 75, 52, 53, 60, 61, 78, 75, 104, 203, 90, 75, 70, 87, 68, 101, 150, 89, 82, 91, 80, 117
Offset: 1

Views

Author

Felix Huber, Mar 18 2025

Keywords

Examples

			a(5) = 25 because A381336(n) = 12 and the nondegenerate integer-sided triangle (12, 12 + 5, 25 >= 12 + 5) has an integer area (90), and there is no smaller c > 12 + 5 than 25 that satisfies this condition.
		

Crossrefs

Cf. A381336.

Programs

  • Maple
    A381337:=proc(n)
        local k,c,s;
        for k do
            for c from k+n to 2*k+n-1 do
                s:=(n+2*k+c)/2;
                if issqr(s*(s-k)*(s-k-n)*(s-c)) then
                    return c
                fi
            od
        od;
    end proc;
    seq(A381337(n),n=1..65);