OFFSET
2,1
COMMENTS
The real part of these numbers is always irrational.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 2..1000
FORMULA
Consider prime isosceles triangles of sides (2, 3, 3), (3, 5, 5), ..., (x, y, y) where x is prime and y is the next prime after x. Then area = 1/2*x*sqrt(y^2-(x/2)^2). Output floor(area)
MATHEMATICA
Floor[#[[1]]/2 Sqrt[#[[2]]^2-(#[[1]]/2)^2]]&/@Partition[Prime[Range[50]], 2, 1] (* Harvey P. Dale, Feb 03 2025 *)
PROG
(PARI) f(n) = forprime(x=2, n, y=nextprime(x+1); a=1/2*x*sqrt(y^2-(x/2)^2); print1(floor (a)", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Aug 22 2004
STATUS
approved
