a(n) is the area of the largest rectangle with integer sides that can be inscribed under the parabola y = -x^2 + n and on or above the x-axis.
(history;
published version)
NAME
a(n) is the area of the largest rectangle with integer sides that can be inscribed under the parabola y = -x^2 + n and above the x-axis.
Discussion
Fri Sep 13
20:59
OEIS Server: This sequence has not been edited or commented on for a week
yet is not proposed for review. If it is ready for review, please
visit https://oeis.org/draft/A375473 and click the button that reads
"These changes are ready for review by an OEIS Editor."
Thanks.
- The OEIS Server
Tue Sep 17
10:02
Gonzalo Martínez: Sean, I mean y >=0. The rectangle with the largest area has 2 of its vertices on the x-axis and the other two are on the parabola. Thank you!
Discussion
Sat Aug 17
19:06
Kevin Ryde: In formula you're allowed to use "round()", and if a sub-expression is repeated then you're allowed to give it a name.
Fri Sep 06
18:18
Sean A. Irvine: By "above the x-axis" do you mean y>0 or y >= 0?
NAME
a(n) is the area of the largest rectangle with integer sides that can be inscribed under the parabola y = -x^2 + n and above the x-axis.
FORMULA
a(n) = 2*floor(1/2 + sqrt(n/3 - 1/12)) *(- (floor(1/2 +
sqrt(n/3 - 1/12)))^2 + n)
NAME
allocated for Gonzalo Martínez