|
|
A096384
|
|
a(n) is the area of the triangle with sides prime(n), prime(n+2) and prime(n+4), rounded down to the nearest integer.
|
|
1
|
|
|
28, 88, 95, 192, 272, 353, 528, 626, 788, 958, 1115, 1353, 1573, 1862, 2071, 2333, 2675, 2946, 3373, 3765, 4173, 4562, 4926, 5383, 5782, 6524, 6909, 8099, 8437, 9355, 9747, 10692, 11306, 12066, 12789, 13748, 14306, 15396, 15725, 17169, 17966, 19202
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
4,1
|
|
COMMENTS
|
The area of a prime sided triangle is always an irrational number.
|
|
LINKS
|
|
|
PROG
|
(PARI) \\ here areasquared is square of area of triangle with given sides.
areasquared(a, b, c)={my(p=(a+b+c)/2); p*(p-a)*(p-b)*(p-c)}
a(n)={sqrtint(floor(areasquared(prime(n), prime(n+2), prime(n+4))))} \\ Andrew Howroyd, Aug 17 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Name clarified, a(4) prepended and data corrected by Andrew Howroyd, Aug 17 2018
|
|
STATUS
|
approved
|
|
|
|